diff options
author | Christian Hesse <mail@eworm.de> | 2017-01-05 16:04:21 +0100 |
---|---|---|
committer | Christian Hesse <mail@eworm.de> | 2017-01-05 16:04:21 +0100 |
commit | 48ce76c01af56785aeb2fb550d578d992e3394d8 (patch) | |
tree | cf70d37034c567fe1b98bf5643f7989fb26becc3 /pacredir.c | |
parent | 35c754cadb623c94b03b819d5ec439f7e40c9a3b (diff) | |
download | pacredir-48ce76c01af56785aeb2fb550d578d992e3394d8.tar.gz pacredir-48ce76c01af56785aeb2fb550d578d992e3394d8.tar.zst |
no need to tell systemd the pid
This is required only when the pid is different from what systemd
executed itself.
Diffstat (limited to 'pacredir.c')
-rw-r--r-- | pacredir.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -721,7 +721,7 @@ int main(int argc, char ** argv) { signal(SIGINT, sig_callback); /* report ready to systemd */ - sd_notifyf(0, "READY=1\nSTATUS=Waiting for requests to redirect...\nMAINPID=%lu", (unsigned long) getpid()); + sd_notify(0, "READY=1\nSTATUS=Waiting for requests to redirect..."); /* run the main loop */ avahi_simple_poll_loop(simple_poll); |