From 615e0151919279b4edc34466a05ebef562c9e056 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Honza=20Hor=C3=A1k?= Date: Tue, 24 Jan 2012 15:59:15 +0100 Subject: [PATCH] Don't fail when killing ypbind after unsuccessfull start fails --- 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 31476aa..1c68132 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 797a223..2cc5b3e 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.33 -Release: 10%{?dist} +Release: 11%{?dist} License: GPLv2 Group: System Environment/Daemons 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 %changelog +* Tue Jan 24 2012 Honza Horak - 3:1.33-11 +- Don't fail when killing ypbind after unsuccessfull start fails + * Thu Jan 12 2012 Honza Horak - 3:1.33-10 - Fail to start ypbind service if domainname is not set