mirror of
https://github.com/unraid/webgui.git
synced 2026-01-18 15:40:09 -06:00
Use absolute path in docker call
This commit is contained in:
@@ -32,7 +32,7 @@ if (!isset($eth0) && is_file("$docroot/state/network.ini")) extract(parse_ini_fi
|
||||
|
||||
# controlled docker execution
|
||||
function docker($cmd, &$var=null) {
|
||||
return exec("timeout 20 docker $cmd 2>/dev/null",$var);
|
||||
return exec("timeout 20 /usr/bin/docker $cmd 2>/dev/null",$var);
|
||||
}
|
||||
|
||||
# Docker configuration file - guaranteed to exist
|
||||
|
||||
Reference in New Issue
Block a user