diff options
| author | Karl O. Pinc | 2013-05-24 05:16:18 +0000 |
|---|---|---|
| committer | Robert Treat | 2013-05-24 20:32:10 +0000 |
| commit | 8c84ad172eaab9392432b9d1d863888557e66dc5 (patch) | |
| tree | 9c46a545797eab40b80e5a1e7a76690af0b63233 | |
| parent | 7ef555fb076bfbaedf8028905b2b03ec4ae1eb98 (diff) | |
Fix so signals are sent to the right pid.
| -rwxr-xr-x | database.php | 6 |
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') ) ) ) |
