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

Fixes #8180.
This commit is contained in:
Zbigniew Jędrzejewski-Szmek 2018-02-23 13:04:45 +01:00 committed by Lennart Poettering
parent ef2a48aa01
commit 3153ded003
1 changed files with 2 additions and 0 deletions

View File

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