diff options
author | Dave Olson <olson@cumulusnetworks.com> | 2017-09-27 18:01:37 +0200 |
---|---|---|
committer | Donald Sharp <sharpd@cumulusnetworks.com> | 2017-09-27 18:02:58 +0200 |
commit | 83aadaa68db9cbf58b1bbeea8a747a472d85ab18 (patch) | |
tree | fe1f80ce77d12ec3e005de48a3ac6ef0f95a9b8d /debian | |
parent | Merge pull request #1201 from dwalton76/bgpd-debug-updates-prefix (diff) | |
download | frr-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.logrotate | 2 |
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 } |