sysext: skip the reload if --root= is provided

Signed-off-by: Mathieu Tortuyaux <mtortuyaux@microsoft.com>
This commit is contained in:
Mathieu Tortuyaux
2023-08-29 13:55:36 +02:00
parent 14361f6dd9
commit 6a69b0d6d8
+2
View File
@@ -1138,6 +1138,8 @@ static int parse_argv(int argc, char *argv[]) {
r = parse_path_argument(optarg, false, &arg_root);
if (r < 0)
return r;
/* If --root= is provided, do not reload the service manager */
arg_no_reload = true;
break;
case ARG_JSON: