diff --git a/emhttp/plugins/dynamix.docker.manager/scripts/docker_init b/emhttp/plugins/dynamix.docker.manager/scripts/docker_init index 71c2a70a2..b4ef9013f 100755 --- a/emhttp/plugins/dynamix.docker.manager/scripts/docker_init +++ b/emhttp/plugins/dynamix.docker.manager/scripts/docker_init @@ -15,8 +15,7 @@ foreach ($autostart as $container) { } $doc = new DOMDocument(); - $doc->load("/boot/config/plugins/dockerMan/templates-user/my-{$cont[0]}.xml"); - if ( ! $doc ) { + if (!$doc->load("/boot/config/plugins/dockerMan/templates-user/my-{$cont[0]}.xml")) { $newAuto[] = $container; continue; }