diff options
author | Lennart Poettering <lennart@poettering.net> | 2018-02-26 12:01:45 +0100 |
---|---|---|
committer | Lennart Poettering <lennart@poettering.net> | 2018-02-27 19:59:09 +0100 |
commit | fa7bc1d1c71e84b1676ed6853a09e612ca7bd67f (patch) | |
tree | df23596a1f29c69a6d58e91e61190df38903e559 /src/systemctl/systemd-sysv-install.SKELETON | |
parent | 438428465535f5c86ceef850310a5f6a3b0e15f6 (diff) | |
download | systemd-fa7bc1d1c71e84b1676ed6853a09e612ca7bd67f.tar.gz |
systemd-sysv-install: unset ROOT rather than setting it to ""
Follow-up for #8264.
It's cleaner to pass no env var at all to forked off processes rather
than an empty one.
Diffstat (limited to 'src/systemctl/systemd-sysv-install.SKELETON')
-rwxr-xr-x | src/systemctl/systemd-sysv-install.SKELETON | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/systemctl/systemd-sysv-install.SKELETON b/src/systemctl/systemd-sysv-install.SKELETON index 2c494f169b..8c16cf9991 100755 --- a/src/systemctl/systemd-sysv-install.SKELETON +++ b/src/systemctl/systemd-sysv-install.SKELETON @@ -11,7 +11,7 @@ usage() { exit 1 } -ROOT= +unset ROOT # parse options eval set -- "$(getopt -o r: --long root: -- "$@")" |