diff options
| author | Roy Marples <roy@marples.name> | 2019-10-15 14:03:27 +0100 |
|---|---|---|
| committer | Roy Marples <roy@marples.name> | 2019-10-15 14:03:27 +0100 |
| commit | 56af89f86b1d1ac033017af247ff9bc413e7192b (patch) | |
| tree | a67f21ee9d026bdfa33eeb76ac21601426ed12dd /src/dhcpcd.c | |
| parent | b6f15b302ca72858f93406b41a4886cbad42b6ee (diff) | |
| download | dhcpcd-56af89f86b1d1ac033017af247ff9bc413e7192b.tar.xz | |
compat: Go back to linux specific setproctitle
Solaris does not work with argv stamping and this is much cleaner
anyway.
Diffstat (limited to 'src/dhcpcd.c')
| -rw-r--r-- | src/dhcpcd.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/dhcpcd.c b/src/dhcpcd.c index 193414ed..6ab4f8e2 100644 --- a/src/dhcpcd.c +++ b/src/dhcpcd.c @@ -2153,6 +2153,9 @@ exit1: loginfox(PACKAGE " exited"); logclose(); free(ctx.logfile); +#ifdef SETPROCTITLE_H + setproctitle_free(); +#endif #ifdef USE_SIGNALS if (ctx.options & DHCPCD_FORKED) _exit(i); /* so atexit won't remove our pidfile */ |
