From: Zbigniew Jędrzejewski-Szmek Date: Fri, 23 Feb 2018 12:04:45 +0000 (+0100) Subject: systemd-sysv-install: avoid using ROOT variable from the environment X-Git-Tag: v238~57 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=3153ded003233b4431ee2fa4cea96cb987c08fd4;p=thirdparty%2Fsystemd.git systemd-sysv-install: avoid using ROOT variable from the environment Fixes #8180. --- diff --git a/src/systemctl/systemd-sysv-install.SKELETON b/src/systemctl/systemd-sysv-install.SKELETON index a53a3e6221f..2c494f169b1 100755 --- a/src/systemctl/systemd-sysv-install.SKELETON +++ b/src/systemctl/systemd-sysv-install.SKELETON @@ -11,6 +11,8 @@ usage() { exit 1 } +ROOT= + # parse options eval set -- "$(getopt -o r: --long root: -- "$@")" while true; do