- fixed #521596 - wrong return code of init script

This commit is contained in:
Jiri Skala 2009-09-15 17:56:14 +00:00
parent 77400c9da9
commit b8b092c97f
2 changed files with 10 additions and 4 deletions

View File

@ -116,6 +116,9 @@ stop() {
echo
else
echo_failure
if [ ! -e /var/lock/subsys/$SQUID ]; then
RETVAL=0
fi
echo
fi
return $RETVAL
@ -148,7 +151,7 @@ stop)
stop
;;
reload)
reload|force-reload)
reload
;;
@ -156,7 +159,7 @@ restart)
restart
;;
condrestart)
condrestart|try-restart)
condrestart
;;
@ -170,7 +173,7 @@ probe)
;;
*)
echo $"Usage: $0 {start|stop|status|reload|restart|condrestart|probe}"
echo $"Usage: $0 {start|stop|status|reload|force-reload|restart|try-restart|probe}"
exit 2
esac

View File

@ -4,7 +4,7 @@
Name: squid
Version: 3.1.0.13
Release: 3%{?dist}
Release: 4%{?dist}
Summary: The Squid proxy caching server
Epoch: 7
License: GPLv2+
@ -253,6 +253,9 @@ fi
chgrp squid /var/cache/samba/winbindd_privileged >/dev/null 2>&1 || :
%changelog
* Tue Sep 15 2009 Jiri Skala <jskala@redhat.com> - 7:3.1.0.13-4
- fixed #521596 - wrong return code of init script
* Tue Sep 08 2009 Henrik Nordstrom <henrik@henriknordstrom.net> - 7:3.1.0.13-3
- Enable squid_kerb_auth