From fa7bc1d1c71e84b1676ed6853a09e612ca7bd67f Mon Sep 17 00:00:00 2001 From: Lennart Poettering Date: Mon, 26 Feb 2018 12:01:45 +0100 Subject: [PATCH] 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. --- src/systemctl/systemd-sysv-install.SKELETON | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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: -- "$@")"