diff options
author | Todd Lyons <tlyons@exim.org> | 2014-09-18 07:47:22 -0700 |
---|---|---|
committer | Todd Lyons <tlyons@exim.org> | 2014-09-18 07:47:22 -0700 |
commit | ee15e974de47c3b8520556b4863957ad707e1822 (patch) | |
tree | b1fe12d601212a736de938a8478de7f23b3a96bd /test | |
parent | db270929c3df4a10e96ec8fcb890336a0f6ced6e (diff) |
Fix kill commandline for Solaris compatibility
Diffstat (limited to 'test')
-rwxr-xr-x | test/runtest | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/test/runtest b/test/runtest index a647b229a..095b96851 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 |