diff options
author | Peter Palfrader <peter@palfrader.org> | 2019-09-09 13:27:07 +0200 |
---|---|---|
committer | Peter Palfrader <peter@palfrader.org> | 2019-09-09 13:27:07 +0200 |
commit | 6685320272f48fd8667a8b0a14202f45808053c2 (patch) | |
tree | 5860c1b61606eca4daa0e8cbc5ac309a1c548dab | |
parent | d88c2581ab639d827a3bccadd1b76615db89c642 (diff) |
Run samhain status update if the nagios cache is not-OK even if we did not have to update the samhain db
-rw-r--r-- | zshfunc/reinit-debian-samhain-one | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/zshfunc/reinit-debian-samhain-one b/zshfunc/reinit-debian-samhain-one index 1d3d4a8..8555bb3 100644 --- a/zshfunc/reinit-debian-samhain-one +++ b/zshfunc/reinit-debian-samhain-one @@ -30,8 +30,8 @@ ssh $host -t ' else sudo -H samhain --foreground -t init -p none -s none -l none -m none fi - grep -q OK /var/cache/dsa/nagios/samhain || sudo dsa-update-samhain-status echo done. fi; + grep -q OK /var/cache/dsa/nagios/samhain || sudo dsa-update-samhain-status fi '; |