summaryrefslogtreecommitdiffstats
path: root/redhat/quagga.spec.in
diff options
context:
space:
mode:
Diffstat (limited to 'redhat/quagga.spec.in')
-rw-r--r--redhat/quagga.spec.in3
1 files changed, 2 insertions, 1 deletions
diff --git a/redhat/quagga.spec.in b/redhat/quagga.spec.in
index b22ebc57a..e45ec1f14 100644
--- a/redhat/quagga.spec.in
+++ b/redhat/quagga.spec.in
@@ -306,8 +306,9 @@ if [ "$1" -ge 1 ]; then
/etc/rc.d/init.d/$daemon start >/dev/null 2>&1
done
# Start watchquagga last.
+ # Avoid postun scriptlet error if watchquagga is not running.
[ "$running_watchquagga" = yes ] && \
- /etc/rc.d/init.d/watchquagga start >/dev/null 2>&1
+ /etc/rc.d/init.d/watchquagga start >/dev/null 2>&1 || :
fi
%preun