You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@commons.apache.org by mt...@apache.org on 2010/01/17 12:21:05 UTC

svn commit: r900099 - /commons/sandbox/runtime/trunk/src/main/native/os/unix/exec.c

Author: mturk
Date: Sun Jan 17 11:21:05 2010
New Revision: 900099

URL: http://svn.apache.org/viewvc?rev=900099&view=rev
Log:
Actually send SIGTERM instead SIGKILL

Modified:
    commons/sandbox/runtime/trunk/src/main/native/os/unix/exec.c

Modified: commons/sandbox/runtime/trunk/src/main/native/os/unix/exec.c
URL: http://svn.apache.org/viewvc/commons/sandbox/runtime/trunk/src/main/native/os/unix/exec.c?rev=900099&r1=900098&r2=900099&view=diff
==============================================================================
--- commons/sandbox/runtime/trunk/src/main/native/os/unix/exec.c (original)
+++ commons/sandbox/runtime/trunk/src/main/native/os/unix/exec.c Sun Jan 17 11:21:05 2010
@@ -468,7 +468,7 @@
                         continue;
                     /* Send SIGTERM to the child
                      */
-                    kill(pid, 9);
+                    kill(pid, SIGTERM);
                     break;
                 }
                 for (i = 0; i < rc; i++) {