summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKarl O. Pinc2013-05-24 05:16:18 +0000
committerRobert Treat2013-05-24 20:32:10 +0000
commit8c84ad172eaab9392432b9d1d863888557e66dc5 (patch)
tree9c46a545797eab40b80e5a1e7a76690af0b63233
parent7ef555fb076bfbaedf8028905b2b03ec4ae1eb98 (diff)
Fix so signals are sent to the right pid.
-rwxr-xr-xdatabase.php6
1 files changed, 3 insertions, 3 deletions
diff --git a/database.php b/database.php
index de82a505..876898fc 100755
--- a/database.php
+++ b/database.php
@@ -23,7 +23,7 @@
function doSignal() {
global $data, $lang;
- $status = $data->sendSignal($_REQUEST['procpid'], $_REQUEST['signal']);
+ $status = $data->sendSignal($_REQUEST['pid'], $_REQUEST['signal']);
if ($status == 0)
doProcesses($lang['strsignalsent']);
else
@@ -469,7 +469,7 @@
'urlvars' => array (
'action' => 'signal',
'signal' => 'CANCEL',
- 'procpid' => field('procpid')
+ 'pid' => field('pid')
)
)
)
@@ -482,7 +482,7 @@
'urlvars' => array (
'action' => 'signal',
'signal' => 'KILL',
- 'procpid' => field('procpid')
+ 'pid' => field('pid')
)
)
)