modify
This commit is contained in:
@@ -86,6 +86,7 @@ class Shutdown extends Component
|
||||
}
|
||||
$shell = 'ps -eo pid,cmd,state | grep %d | grep -v grep';
|
||||
exec(sprintf($shell, $content), $output, $code);
|
||||
var_dump(sprintf($shell, $content), $output, $code);
|
||||
if (empty($output)) {
|
||||
return false;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user