runtime-scope: add helper that turns RuntimeScope enum into --system/--user string
This commit is contained in:
+1
-1
@@ -1867,7 +1867,7 @@ static int do_reexecute(
|
||||
|
||||
if (switch_root_dir)
|
||||
args[i++] = "--switched-root";
|
||||
args[i++] = arg_runtime_scope == RUNTIME_SCOPE_SYSTEM ? "--system" : "--user";
|
||||
args[i++] = runtime_scope_cmdline_option_to_string(arg_runtime_scope);
|
||||
args[i++] = "--deserialize";
|
||||
args[i++] = sfd;
|
||||
args[i++] = NULL;
|
||||
|
||||
Reference in New Issue
Block a user