Don't fail when killing ypbind after unsuccessfull start fails

This commit is contained in:
Honza Horák 2012-01-24 15:59:15 +01:00
parent 7d8f241507
commit 615e015191
2 changed files with 5 additions and 2 deletions

View File

@ -48,7 +48,7 @@ else
"NIS server for domain `domainname` is not responding." "NIS server for domain `domainname` is not responding."
logger -t ypbind \ logger -t ypbind \
"Killing ypbind with PID $MAINPID." "Killing ypbind with PID $MAINPID."
kill SIGTERM $MAINPID kill SIGTERM $MAINPID || :
fi fi
exit $retval exit $retval

View File

@ -1,7 +1,7 @@
Summary: The NIS daemon which binds NIS clients to an NIS domain Summary: The NIS daemon which binds NIS clients to an NIS domain
Name: ypbind Name: ypbind
Version: 1.33 Version: 1.33
Release: 10%{?dist} Release: 11%{?dist}
License: GPLv2 License: GPLv2
Group: System Environment/Daemons Group: System Environment/Daemons
Source0: ftp://ftp.us.kernel.org/pub/linux/utils/net/NIS/ypbind-mt-%{version}.tar.bz2 Source0: ftp://ftp.us.kernel.org/pub/linux/utils/net/NIS/ypbind-mt-%{version}.tar.bz2
@ -117,6 +117,9 @@ fi
%doc README NEWS COPYING %doc README NEWS COPYING
%changelog %changelog
* Tue Jan 24 2012 Honza Horak <hhorak@redhat.com> - 3:1.33-11
- Don't fail when killing ypbind after unsuccessfull start fails
* Thu Jan 12 2012 Honza Horak <hhorak@redhat.com> - 3:1.33-10 * Thu Jan 12 2012 Honza Horak <hhorak@redhat.com> - 3:1.33-10
- Fail to start ypbind service if domainname is not set - Fail to start ypbind service if domainname is not set