mirror of
https://github.com/systemd/systemd.git
synced 2024-11-05 06:52:22 +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:
parent
4384284655
commit
fa7bc1d1c7
@ -11,7 +11,7 @@ usage() {
|
||||
exit 1
|
||||
}
|
||||
|
||||
ROOT=
|
||||
unset ROOT
|
||||
|
||||
# parse options
|
||||
eval set -- "$(getopt -o r: --long root: -- "$@")"
|
||||
|
Loading…
Reference in New Issue
Block a user