diff options
author | ajs <ajs> | 2005-01-15 17:26:48 +0000 |
---|---|---|
committer | ajs <ajs> | 2005-01-15 17:26:48 +0000 |
commit | d71a3efe0bd0d9fb9b17b795f8e59bdd97c4406a (patch) | |
tree | c13623dcc5a883489e1ef5f5fe1ba74e4cba6006 | |
parent | 1538f5927b3cfec60245ee61a9cc4263ff82d4ec (diff) | |
download | quagga-d71a3efe0bd0d9fb9b17b795f8e59bdd97c4406a.tar.bz2 quagga-d71a3efe0bd0d9fb9b17b795f8e59bdd97c4406a.tar.xz |
2005-01-15 Andrew J. Schorr <ajschorr@alumni.princeton.edu>
* redhat/quagga.spec.in: Fix postun script to avoid misleading error
message saying the postun scriptlet failed when watchquagga
is not running.
(pullup candidate)
-rw-r--r-- | ChangeLog | 6 | ||||
-rw-r--r-- | redhat/quagga.spec.in | 3 |
2 files changed, 8 insertions, 1 deletions
@@ -1,3 +1,9 @@ +2005-01-15 Andrew J. Schorr <ajschorr@alumni.princeton.edu> + + * redhat/quagga.spec.in: Fix postun script to avoid misleading error + message saying the postun scriptlet failed when watchquagga + is not running. + 2005-01-12 Andrew J. Schorr <ajschorr@alumni.princeton.edu> * configure.ac: Test for header file <ucontext.h> (for use in diff --git a/redhat/quagga.spec.in b/redhat/quagga.spec.in index b22ebc57..e45ec1f1 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 |