systemd-sysv-install: avoid using ROOT variable from the environment

Fixes #8180.
This commit is contained in:
Zbigniew Jędrzejewski-Szmek
2018-02-23 20:05:35 +01:00
committed by Lennart Poettering
parent ef2a48aa01
commit 3153ded003
@@ -11,6 +11,8 @@ usage() {
exit 1
}
ROOT=
# parse options
eval set -- "$(getopt -o r: --long root: -- "$@")"
while true; do