From: Mathieu Tortuyaux Date: Tue, 29 Aug 2023 08:52:38 +0000 (+0200) Subject: sysext: skip the reload if `--root=` is provided X-Git-Tag: v255-rc1~619^2 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=refs%2Fpull%2F29007%2Fhead;p=thirdparty%2Fsystemd.git sysext: skip the reload if `--root=` is provided Signed-off-by: Mathieu Tortuyaux --- diff --git a/src/sysext/sysext.c b/src/sysext/sysext.c index e7e2478d1e3..893d4ce66e4 100644 --- a/src/sysext/sysext.c +++ b/src/sysext/sysext.c @@ -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: