systemctl: make --root=/ disable dbus again

Before 0f03c2a4c0 specifying any path would cause the systemctl client
to do the installation itself, instead of going over dbus. Restore that
behaviour.
This commit is contained in:
Zbigniew Jędrzejewski-Szmek 2016-04-16 17:41:46 -04:00
parent cacf980ed4
commit bac75eb378
1 changed files with 1 additions and 1 deletions

View File

@ -6718,7 +6718,7 @@ static int systemctl_parse_argv(int argc, char *argv[]) {
break;
case ARG_ROOT:
r = parse_path_argument_and_warn(optarg, true, &arg_root);
r = parse_path_argument_and_warn(optarg, false, &arg_root);
if (r < 0)
return r;
break;