1
1
mirror of https://github.com/systemd/systemd-stable.git synced 2024-10-28 11:55:23 +03:00

systemd-sysv-install: unset ROOT rather than setting it to ""

Follow-up for #8264.

It's cleaner to pass no env var at all to forked off processes rather
than an empty one.
This commit is contained in:
Lennart Poettering 2018-02-26 12:01:45 +01:00
parent 4384284655
commit fa7bc1d1c7

View File

@ -11,7 +11,7 @@ usage() {
exit 1
}
ROOT=
unset ROOT
# parse options
eval set -- "$(getopt -o r: --long root: -- "$@")"