diff options
author | Jorge Boncompte <jbonor@gmail.com> | 2017-07-25 12:10:17 +0200 |
---|---|---|
committer | Jorge Boncompte <jbonor@gmail.com> | 2017-08-04 10:19:36 +0200 |
commit | 60bd2534287a4cb6a5d75ca959dd684e81ad0f53 (patch) | |
tree | a015ab6a21ec768d3547bd5cd9f517cc094fca90 /watchfrr/watchfrr.c | |
parent | Merge pull request #895 from qlyoung/flush-ready (diff) | |
download | frr-60bd2534287a4cb6a5d75ca959dd684e81ad0f53.tar.xz frr-60bd2534287a4cb6a5d75ca959dd684e81ad0f53.zip |
watchfrr: hide systemd message if not systemd available
Signed-off-by: Jorge Boncompte <jbonor@gmail.com>
Diffstat (limited to 'watchfrr/watchfrr.c')
-rw-r--r-- | watchfrr/watchfrr.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/watchfrr/watchfrr.c b/watchfrr/watchfrr.c index 1aa25b41d..6adb25f32 100644 --- a/watchfrr/watchfrr.c +++ b/watchfrr/watchfrr.c @@ -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; } } |