Merge pull request #12055 from poettering/save-argc-argv

main-func.h and systemctl argc/argv improvements
This commit is contained in:
Zbigniew Jędrzejewski-Szmek
2019-03-22 16:58:18 +01:00
committed by GitHub
6 changed files with 35 additions and 25 deletions
-4
View File
@@ -4667,10 +4667,6 @@ static int run(int argc, char *argv[]) {
log_parse_environment();
log_open();
/* Make sure rename_process() in the stub init process can work */
saved_argv = argv;
saved_argc = argc;
r = parse_argv(argc, argv);
if (r <= 0)
goto finish;