diff options
Diffstat (limited to 'netlink-notify.c')
-rw-r--r-- | netlink-notify.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/netlink-notify.c b/netlink-notify.c index d529ed4..5d96afa 100644 --- a/netlink-notify.c +++ b/netlink-notify.c @@ -503,6 +503,10 @@ int main (int argc, char **argv) { signal(SIGINT, received_signal); signal(SIGTERM, received_signal); +#ifdef HAVE_SYSTEMD + sd_notify(0, "READY=1\nSTATUS=Waiting for netlink events..."); +#endif + while (doexit == 0) { if (read_event(nls) != EXIT_SUCCESS) { fprintf(stderr, "%s: read_event returned error.\n", program); |