mirror of
https://github.com/unraid/webgui.git
synced 2026-04-22 01:40:58 -05:00
Merge pull request #405 from Squidly271/patch-18
Code change to prevent CA from modifying system file
This commit is contained in:
@@ -176,7 +176,9 @@ if ($_GET['updateContainer']){
|
||||
stopContainer($Name);
|
||||
}
|
||||
// force kill container if still running after 10 seconds
|
||||
removeContainer($Name);
|
||||
if ( ! $_GET['communityApplications'] ) {
|
||||
removeContainer($Name);
|
||||
}
|
||||
execCommand($cmd);
|
||||
$DockerClient->flushCaches();
|
||||
$newImageID = $DockerClient->getImageID($Repository);
|
||||
|
||||
Reference in New Issue
Block a user