From: Lennart Poettering Date: Mon, 26 Feb 2018 11:01:45 +0000 (+0100) Subject: systemd-sysv-install: unset ROOT rather than setting it to "" X-Git-Tag: v238~42^2~1 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=fa7bc1d1c71e84b1676ed6853a09e612ca7bd67f;p=thirdparty%2Fsystemd.git 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. --- diff --git a/src/systemctl/systemd-sysv-install.SKELETON b/src/systemctl/systemd-sysv-install.SKELETON index 2c494f169b1..8c16cf99913 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: -- "$@")"