Skip to content

Commit

Permalink
watchfrr: hide systemd message if not systemd available
Browse files Browse the repository at this point in the history
Signed-off-by: Jorge Boncompte <jbonor@gmail.com>
  • Loading branch information
jbonor committed Aug 4, 2017
1 parent dacb171 commit 60bd253
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions watchfrr/watchfrr.c
Original file line number Diff line number Diff line change
Expand Up @@ -684,9 +684,11 @@ static void daemon_send_ready(void)

fp = fopen(DAEMON_VTY_DIR "/watchfrr.started", "w");
fclose(fp);
#if defined HAVE_SYSTEMD
zlog_notice(
"Watchfrr: Notifying Systemd we are up and running");
systemd_send_started(master, 0);
#endif
sent = 1;
}
}
Expand Down

0 comments on commit 60bd253

Please sign in to comment.