mirror of
https://github.com/unraid/webgui.git
synced 2026-04-24 11:19:25 -05:00
killall and pgrep updates.
Set --ns $$ on commands.
This commit is contained in:
@@ -24,7 +24,7 @@ $_SERVER['REQUEST_URI'] = "scripts";
|
||||
$login_locale = _var($display,'locale');
|
||||
require_once "$docroot/webGui/include/Translations.php";
|
||||
|
||||
exec("pgrep docker", $pid);
|
||||
exec('pgrep --ns $$ docker', $pid);
|
||||
if (count($pid) == 1) exit(0);
|
||||
|
||||
$DockerClient = new DockerClient();
|
||||
|
||||
Reference in New Issue
Block a user