fixed kill call in ypbind-post-waitbind script

This commit is contained in:
Honza Horák 2012-06-01 13:43:08 +02:00
parent 25e85721f4
commit 54efa3f34b
2 changed files with 5 additions and 2 deletions

View File

@ -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

View File

@ -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@redhat.com> - 3:1.35-3
- fixed kill call in ypbind-post-waitbind script
* Wed Apr 18 2012 Honza Horak <hhorak@redhat.com> - 3:1.35-2
- NetworkManager signal name changed
Resolves: #812501