Fix typo in initscript.

Signed-off-by: Adam Tkac <atkac@redhat.com>
This commit is contained in:
Adam Tkac 2011-01-12 15:09:19 +01:00
parent 559263dd25
commit ebeac1bec4
2 changed files with 5 additions and 2 deletions

View File

@ -22,7 +22,7 @@ Summary: The Berkeley Internet Name Domain (BIND) DNS (Domain Name System) serv
Name: bind Name: bind
License: ISC License: ISC
Version: 9.7.3 Version: 9.7.3
Release: 0.3.%{PREVER}%{?dist} Release: 0.4.%{PREVER}%{?dist}
Epoch: 32 Epoch: 32
Url: http://www.isc.org/products/BIND/ Url: http://www.isc.org/products/BIND/
Buildroot:%{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) Buildroot:%{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
@ -766,6 +766,9 @@ rm -rf ${RPM_BUILD_ROOT}
%endif %endif
%changelog %changelog
* Wed Jan 12 2010 Adam Tkac <atkac redhat com> 32:9.7.3-0.4.b1
- fix typo in initscript
* Thu Jan 06 2011 Adam Tkac <atkac redhat com> 32:9.7.3-0.3.b1 * Thu Jan 06 2011 Adam Tkac <atkac redhat com> 32:9.7.3-0.3.b1
- fix "service named status" when used with named-sdb - fix "service named status" when used with named-sdb
- don't check MD5, size and mtime of sysconfig/named - don't check MD5, size and mtime of sysconfig/named

View File

@ -181,7 +181,7 @@ stop() {
[ -x /usr/sbin/rndc ] && /usr/sbin/rndc stop >/dev/null 2>&1; [ -x /usr/sbin/rndc ] && /usr/sbin/rndc stop >/dev/null 2>&1;
RETVAL=$? RETVAL=$?
# was rndc successful? # was rndc successful?
[ "$RETVAL" -eq 0 ] || \\ [ "$RETVAL" -eq 0 ] || \
killproc -p "$ROOTDIR/$PIDFILE" "$named" -TERM >/dev/null 2>&1 killproc -p "$ROOTDIR/$PIDFILE" "$named" -TERM >/dev/null 2>&1
timeout=0 timeout=0