Fix kill commandline for Solaris compatibility #2
authorTodd Lyons <tlyons@exim.org>
Thu, 18 Sep 2014 16:02:17 +0000 (09:02 -0700)
committerTodd Lyons <tlyons@exim.org>
Thu, 18 Sep 2014 16:02:17 +0000 (09:02 -0700)
test/runtest

index 095b968..d1af19a 100755 (executable)
@@ -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
       }
     }