diff options
author | Costa Tsaousis <costa@tsaousis.gr> | 2018-10-06 21:08:43 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-10-06 21:08:43 +0300 |
commit | a441c0a2c8726b145c0a3fe62319d6fed71269a1 (patch) | |
tree | 1db8deff72120935a41809be391dc4b89a0986f7 /conf.d | |
parent | 98f13d85150227cfc83648bfab1dd64b9a0217f6 (diff) |
edit-config should use . instead of source with /bin/sh (#4360)
* source is . in /bin/sh
* code cleanup and documentation
Diffstat (limited to 'conf.d')
-rwxr-xr-x | conf.d/edit-config.in | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/conf.d/edit-config.in b/conf.d/edit-config.in index 930c52687a..1b86549fa4 100755 --- a/conf.d/edit-config.in +++ b/conf.d/edit-config.in @@ -1,6 +1,6 @@ #!/usr/bin/env sh -[ -f /etc/profile ] && source /etc/profile +[ -f /etc/profile ] && . /etc/profile file="${1}" |