[exim-cvs] Fix kill commandline for Solaris compatibility

Page principale
Supprimer ce message
Répondre à ce message
Auteur: Exim Git Commits Mailing List
Date:  
À: exim-cvs
Sujet: [exim-cvs] Fix kill commandline for Solaris compatibility
Gitweb: http://git.exim.org/exim.git/commitdiff/ee15e974de47c3b8520556b4863957ad707e1822
Commit:     ee15e974de47c3b8520556b4863957ad707e1822
Parent:     db270929c3df4a10e96ec8fcb890336a0f6ced6e
Author:     Todd Lyons <tlyons@???>
AuthorDate: Thu Sep 18 07:47:22 2014 -0700
Committer:  Todd Lyons <tlyons@???>
CommitDate: Thu Sep 18 07:47:22 2014 -0700


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


diff --git a/test/runtest b/test/runtest
index a647b22..095b968 100755
--- a/test/runtest
+++ b/test/runtest
@@ -165,7 +165,7 @@ if (exists $TEST_STATE->{exim_pid})
{
$pid = $TEST_STATE->{exim_pid};
print "Tidyup: killing wait-mode daemon pid=$pid\n";
- system("sudo kill -SIGINT $pid");
+ system("sudo kill -INT $pid");
}

 if (opendir(DIR, "spool"))
@@ -179,7 +179,7 @@ if (opendir(DIR, "spool"))
     chomp($pid = <PID>);
     close(PID);
     print "Tidyup: killing daemon pid=$pid\n";
-    system("sudo rm -f spool/$spool; sudo kill -SIGINT $pid");
+    system("sudo rm -f spool/$spool; sudo kill -INT $pid");
     }
   }
 else