]> git.ipfire.org Git - thirdparty/systemd.git/commitdiff
systemd-sysv-install: avoid using ROOT variable from the environment
authorZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>
Fri, 23 Feb 2018 12:04:45 +0000 (13:04 +0100)
committerLennart Poettering <lennart@poettering.net>
Fri, 23 Feb 2018 19:05:35 +0000 (20:05 +0100)
Fixes #8180.

src/systemctl/systemd-sysv-install.SKELETON

index a53a3e6221f9a1baed8831793909dacff06d84b9..2c494f169b13b28b4df84786e4999628fd2b889c 100755 (executable)
@@ -11,6 +11,8 @@ usage() {
     exit 1
 }
 
+ROOT=
+
 # parse options
 eval set -- "$(getopt -o r: --long root: -- "$@")"
 while true; do