[ypbind] Fixed sending TERM signal in ypbind-post-waitbind

Honza Horak hhorak at fedoraproject.org
Mon Jul 23 08:45:47 UTC 2012


commit 617ac4214f0c724455fe6166857cc66176bd6c47
Author: Honza HorĂ¡k <hhorak at redhat.com>
Date:   Mon Jul 23 10:44:28 2012 +0200

    Fixed sending TERM signal in ypbind-post-waitbind

 ypbind-post-waitbind |    2 +-
 ypbind.spec          |    1 +
 2 files changed, 2 insertions(+), 1 deletions(-)
---
diff --git a/ypbind-post-waitbind b/ypbind-post-waitbind
index f0cdb7f..7ef608c 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 -s 15 $MAINPID || :
 fi
 
 exit $retval
diff --git a/ypbind.spec b/ypbind.spec
index 33c89f7..a7b503c 100644
--- a/ypbind.spec
+++ b/ypbind.spec
@@ -118,6 +118,7 @@ fi
 * Mon Jul 23 2012 Honza Horak <hhorak at redhat.com> - 3:1.36-4
 - Add SIGPIPE to proper signal set
   Related: #842228
+- Fixed sending TERM signal in ypbind-post-waitbind
 
 * Sun Jul 22 2012 Fedora Release Engineering <rel-eng at lists.fedoraproject.org> - 3:1.36-3
 - Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild


More information about the scm-commits mailing list