mirror of
https://git.proxmox.com/git/mirror_frr
synced 2025-10-17 16:27:21 +00:00
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)
This commit is contained in:
parent
cb585b65d1
commit
b854038bd0
@ -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>
|
2005-01-12 Andrew J. Schorr <ajschorr@alumni.princeton.edu>
|
||||||
|
|
||||||
* configure.ac: Test for header file <ucontext.h> (for use in
|
* configure.ac: Test for header file <ucontext.h> (for use in
|
||||||
|
@ -306,8 +306,9 @@ if [ "$1" -ge 1 ]; then
|
|||||||
/etc/rc.d/init.d/$daemon start >/dev/null 2>&1
|
/etc/rc.d/init.d/$daemon start >/dev/null 2>&1
|
||||||
done
|
done
|
||||||
# Start watchquagga last.
|
# Start watchquagga last.
|
||||||
|
# Avoid postun scriptlet error if watchquagga is not running.
|
||||||
[ "$running_watchquagga" = yes ] && \
|
[ "$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
|
fi
|
||||||
|
|
||||||
%preun
|
%preun
|
||||||
|
Loading…
Reference in New Issue
Block a user