[exim-cvs] Fix kill commandline for Solaris compatibility #2

Kezdőlap
Üzenet törlése
Válasz az üzenetre
Szerző: Exim Git Commits Mailing List
Dátum:  
Címzett: exim-cvs
Tárgy: [exim-cvs] Fix kill commandline for Solaris compatibility #2
Gitweb: http://git.exim.org/exim.git/commitdiff/ed54e8aea07ab7ff1d0090e313b209f26a7fa3bd
Commit:     ed54e8aea07ab7ff1d0090e313b209f26a7fa3bd
Parent:     ee15e974de47c3b8520556b4863957ad707e1822
Author:     Todd Lyons <tlyons@???>
AuthorDate: Thu Sep 18 09:02:17 2014 -0700
Committer:  Todd Lyons <tlyons@???>
CommitDate: Thu Sep 18 09:02:17 2014 -0700


    Fix kill commandline for Solaris compatibility #2
---
 test/runtest |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)


diff --git a/test/runtest b/test/runtest
index 095b968..d1af19a 100755
--- a/test/runtest
+++ b/test/runtest
@@ -1752,14 +1752,14 @@ if (/^killdaemon/)
     print ">> killdaemon: recovered pid $pid\n" if $debug;
     if ($pid)
       {
-      run_system("sudo /bin/kill -SIGINT $pid");
+      run_system("sudo /bin/kill -INT $pid");
       wait;
       }
     } else {
     $pid = `cat $parm_cwd/spool/exim-daemon.*`;
     if ($pid)
       {
-      run_system("sudo /bin/kill -SIGINT $pid");
+      run_system("sudo /bin/kill -INT $pid");
       close DAEMONCMD;                                   # Waits for process
       }
     }