From 3153ded003233b4431ee2fa4cea96cb987c08fd4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Zbigniew=20J=C4=99drzejewski-Szmek?= Date: Fri, 23 Feb 2018 13:04:45 +0100 Subject: [PATCH] systemd-sysv-install: avoid using ROOT variable from the environment Fixes #8180. --- src/systemctl/systemd-sysv-install.SKELETON | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/systemctl/systemd-sysv-install.SKELETON b/src/systemctl/systemd-sysv-install.SKELETON index a53a3e6221..2c494f169b 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