summaryrefslogtreecommitdiff
path: root/src/core/main.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/core/main.c')
-rw-r--r--src/core/main.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/core/main.c b/src/core/main.c
index 981513bbc3..6f6f4e5c5e 100644
--- a/src/core/main.c
+++ b/src/core/main.c
@@ -2380,8 +2380,7 @@ int main(int argc, char *argv[]) {
(void) prctl(PR_SET_NAME, systemd);
/* Save the original command line */
- saved_argv = argv;
- saved_argc = argc;
+ save_argc_argv(argc, argv);
/* Make sure that if the user says "syslog" we actually log to the journal. */
log_set_upgrade_syslog_to_journal(true);