mirror of
https://github.com/optim-enterprises-bv/control-pane.git
synced 2025-10-29 17:12:20 +00:00
fix jstop
This commit is contained in:
@@ -23,6 +23,9 @@ class CBSD {
|
||||
die("Shell escape attempt");
|
||||
}
|
||||
|
||||
// olevole: to generic log_() function
|
||||
// file_put_contents('/tmp/clonos-run_'.date("j.n.Y").'.log', $full_cmd . "\n", FILE_APPEND);
|
||||
|
||||
$process = proc_open($full_cmd,$specs,$pipes,null,null);
|
||||
|
||||
$error=false;
|
||||
|
||||
@@ -1012,7 +1012,7 @@ class ClonOS {
|
||||
function ccmd_jailStop(){
|
||||
//$cbsd_queue_name=trim($this->_vars['path'],'/');
|
||||
$res=CBSD::run(
|
||||
'task owner='.$username.' mode=new {cbsd_loc} jstop inter=0 jname=%s',
|
||||
'task owner=%s mode=new {cbsd_loc} jstop inter=0 jname=%s',
|
||||
array($this->_user_info['username'], $this->_vars['form_data']['jname'])
|
||||
);
|
||||
//.' cbsd_queue_name=/clonos/'.$cbsd_queue_name.'/'); // autoflush=2
|
||||
@@ -2820,4 +2820,4 @@ class ClonOS {
|
||||
|
||||
return $html;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user