From bac75eb3783c5481be9833c3b1551b819fd3fb60 Mon Sep 17 00:00:00 2001 From: Zbigniew Jędrzejewski-Szmek Date: Sat, 16 Apr 2016 17:41:46 -0400 Subject: systemctl: make --root=/ disable dbus again Before 0f03c2a4c093 specifying any path would cause the systemctl client to do the installation itself, instead of going over dbus. Restore that behaviour. --- src/systemctl/systemctl.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/systemctl/systemctl.c b/src/systemctl/systemctl.c index 91829fcbcf..9310a0f430 100644 --- a/src/systemctl/systemctl.c +++ b/src/systemctl/systemctl.c @@ -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; -- cgit v1.2.3-54-g00ecf