summaryrefslogtreecommitdiff
path: root/src/main.c
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2011-06-30 04:16:10 +0200
committerLennart Poettering <lennart@poettering.net>2011-06-30 04:16:10 +0200
commit9a0e68963464b6bc159cad53fd745491cd0b90f7 (patch)
tree0d01fd1938e514baa9c2a9ab1a0444efba2c59dc /src/main.c
parent7fbf31dfe3cb2f9619df28258208eba36922e9d3 (diff)
util: try harder to rename the process
Diffstat (limited to 'src/main.c')
-rw-r--r--src/main.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/main.c b/src/main.c
index 045203383d..e10441c862 100644
--- a/src/main.c
+++ b/src/main.c
@@ -1033,6 +1033,8 @@ int main(int argc, char *argv[]) {
program_invocation_short_name = systemd;
prctl(PR_SET_NAME, systemd);
+ saved_argv = argv;
+ saved_argc = argc;
log_show_color(isatty(STDERR_FILENO) > 0);
log_show_location(false);