[monit: 8/17] or TRUE

Maxim Burgerhout wzzrd at fedoraproject.org
Fri Dec 2 22:16:34 UTC 2011


commit 7b61c441d39936a6d37ce5a4a6bc077f04308cb9
Author: Maxim Burgerhout <maxim at wzzrd.com>
Date:   Tue Jul 26 15:49:51 2011 +0200

    or TRUE

 monit.spec |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/monit.spec b/monit.spec
index cb0d188..7e6b837 100644
--- a/monit.spec
+++ b/monit.spec
@@ -94,7 +94,7 @@ fi
 
 %postun
 if [ $1 -ge 1 ]; then
-        /bin/systemctl try-restart monit.service &> /dev/null ||
+        /bin/systemctl try-restart monit.service &> /dev/null || :
 fi
 
 %postun sysvinit


More information about the scm-commits mailing list