[ypbind] fixed kill call in ypbind-post-waitbind script
Honza Horak
hhorak at fedoraproject.org
Fri Jun 1 11:44:54 UTC 2012
commit 54efa3f34bd1f54e7e0e758be9f72c8872269c06
Author: Honza HorĂ¡k <hhorak at redhat.com>
Date: Fri Jun 1 13:43:08 2012 +0200
fixed kill call in ypbind-post-waitbind script
ypbind-post-waitbind | 2 +-
ypbind.spec | 5 ++++-
2 files changed, 5 insertions(+), 2 deletions(-)
---
diff --git a/ypbind-post-waitbind b/ypbind-post-waitbind
index 1c68132..f0cdb7f 100755
--- a/ypbind-post-waitbind
+++ b/ypbind-post-waitbind
@@ -48,7 +48,7 @@ else
"NIS server for domain `domainname` is not responding."
logger -t ypbind \
"Killing ypbind with PID $MAINPID."
- kill SIGTERM $MAINPID || :
+ kill -SIGTERM $MAINPID || :
fi
exit $retval
diff --git a/ypbind.spec b/ypbind.spec
index f4b3cb3..e547d1b 100644
--- a/ypbind.spec
+++ b/ypbind.spec
@@ -1,7 +1,7 @@
Summary: The NIS daemon which binds NIS clients to an NIS domain
Name: ypbind
Version: 1.35
-Release: 2%{?dist}
+Release: 3%{?dist}
License: GPLv2
Group: System Environment/Daemons
Source0: ftp://ftp.us.kernel.org/pub/linux/utils/net/NIS/ypbind-mt-%{version}.tar.bz2
@@ -115,6 +115,9 @@ fi
%doc README NEWS COPYING
%changelog
+* Fri Jun 01 2012 Honza Horak <hhorak at redhat.com> - 3:1.35-3
+- fixed kill call in ypbind-post-waitbind script
+
* Wed Apr 18 2012 Honza Horak <hhorak at redhat.com> - 3:1.35-2
- NetworkManager signal name changed
Resolves: #812501
More information about the scm-commits
mailing list