summaryrefslogtreecommitdiffstats
path: root/debian
diff options
context:
space:
mode:
authorDave Olson <olson@cumulusnetworks.com>2017-09-27 18:01:37 +0200
committerDonald Sharp <sharpd@cumulusnetworks.com>2017-09-27 18:02:58 +0200
commit83aadaa68db9cbf58b1bbeea8a747a472d85ab18 (patch)
treefe1f80ce77d12ec3e005de48a3ac6ef0f95a9b8d /debian
parentMerge pull request #1201 from dwalton76/bgpd-debug-updates-prefix (diff)
downloadfrr-83aadaa68db9cbf58b1bbeea8a747a472d85ab18.tar.xz
frr-83aadaa68db9cbf58b1bbeea8a747a472d85ab18.zip
debian: Fix logrotate when FRR is not running
Fix the logrotate script to complete successfully even if FRR is not currently running. Signed-off-by: Dave Olson <olson@cumulusnetworks.com>
Diffstat (limited to 'debian')
-rw-r--r--debian/frr.logrotate2
1 files changed, 1 insertions, 1 deletions
diff --git a/debian/frr.logrotate b/debian/frr.logrotate
index 9a1fa2149..2b4acd89c 100644
--- a/debian/frr.logrotate
+++ b/debian/frr.logrotate
@@ -22,6 +22,6 @@
pids="$pids $(cat /var/run/frr/$i.pid)"
fi
done
- [ -n "$pids" ] && kill -USR1 $pids
+ [ -n "$pids" ] && kill -USR1 $pids || true
endscript
}