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 095b968517c2d6d39c03a7b22e9997e6262cd389..d1af19afaacab0e40d08ca3b6661ddfdc53b6bfd 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
       }
     }