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