]> git.ipfire.org Git - thirdparty/systemd.git/commitdiff
systemctl: make --root=/ disable dbus again
authorZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>
Sat, 16 Apr 2016 21:41:46 +0000 (17:41 -0400)
committerZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>
Sat, 16 Apr 2016 21:41:46 +0000 (17:41 -0400)
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

index 91829fcbcf652aa7d3bbd6b114cb65e2f154dbb7..9310a0f4301ae9d5607cdf478f5c6d4fe77671fd 100644 (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;