summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAdam Tkac <atkac@redhat.com>2011-01-12 15:09:19 +0100
committerAdam Tkac <atkac@redhat.com>2011-01-12 15:09:19 +0100
commitebeac1bec498f9a78e733756e59507255e87053f (patch)
tree070a622d5f11976723295707e1d169fc2302af9a
parent559263dd252badf8931e2bc8ab67ef44cabb6293 (diff)
downloadbind-ebeac1bec498f9a78e733756e59507255e87053f.tar.gz
bind-ebeac1bec498f9a78e733756e59507255e87053f.tar.xz
bind-ebeac1bec498f9a78e733756e59507255e87053f.zip
Fix typo in initscript.
Signed-off-by: Adam Tkac <atkac@redhat.com>
-rw-r--r--bind.spec5
-rwxr-xr-xnamed.init2
2 files changed, 5 insertions, 2 deletions
diff --git a/bind.spec b/bind.spec
index e297a42..1f0d4fa 100644
--- a/bind.spec
+++ b/bind.spec
@@ -22,7 +22,7 @@ Summary: The Berkeley Internet Name Domain (BIND) DNS (Domain Name System) serv
Name: bind
License: ISC
Version: 9.7.3
-Release: 0.3.%{PREVER}%{?dist}
+Release: 0.4.%{PREVER}%{?dist}
Epoch: 32
Url: http://www.isc.org/products/BIND/
Buildroot:%{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
@@ -766,6 +766,9 @@ rm -rf ${RPM_BUILD_ROOT}
%endif
%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
- fix "service named status" when used with named-sdb
- don't check MD5, size and mtime of sysconfig/named
diff --git a/named.init b/named.init
index 90518e2..26d0360 100755
--- a/named.init
+++ b/named.init
@@ -181,7 +181,7 @@ stop() {
[ -x /usr/sbin/rndc ] && /usr/sbin/rndc stop >/dev/null 2>&1;
RETVAL=$?
# was rndc successful?
- [ "$RETVAL" -eq 0 ] || \\
+ [ "$RETVAL" -eq 0 ] || \
killproc -p "$ROOTDIR/$PIDFILE" "$named" -TERM >/dev/null 2>&1
timeout=0