diff --git a/emhttp/plugins/dynamix.docker.manager/scripts/dockerupdate b/emhttp/plugins/dynamix.docker.manager/scripts/dockerupdate index 8f5482095..592e3fc00 100755 --- a/emhttp/plugins/dynamix.docker.manager/scripts/dockerupdate +++ b/emhttp/plugins/dynamix.docker.manager/scripts/dockerupdate @@ -1,7 +1,7 @@ #!/usr/bin/php -q getAllInfo(true); echo " Done."; } else { - $notify = "$docroot/webGui/scripts/notify"; + $script = "$docroot/webGui/scripts/notify"; $var = (array)@parse_ini_file("/var/local/emhttp/var.ini"); $server = strtoupper(_var($var,'NAME','tower')); $output = _var($notify,'docker_notify'); @@ -59,7 +60,7 @@ if (!isset($check)) { $event = str_replace("'","'",_("Docker")." - $name [$new]"); $subject = str_replace("'","'",sprintf(_("Notice [%s] - Version update %s"),$server,$new)); $description = str_replace("'","'",sprintf(_("A new version of %s is available"),$name)); - exec("$notify -e ".escapeshellarg($event)." -s ".escapeshellarg($subject)." -d ".escapeshellarg($description)." -i ".escapeshellarg("normal $output")." -l '/Docker' -x"); + exec("$script -e ".escapeshellarg($event)." -s ".escapeshellarg($subject)." -d ".escapeshellarg($description)." -i ".escapeshellarg("normal $output")." -l '/Docker' -x"); } } } diff --git a/emhttp/plugins/dynamix.plugin.manager/include/UnraidCheck.php b/emhttp/plugins/dynamix.plugin.manager/include/UnraidCheck.php index 30104a466..2f2b091d6 100644 --- a/emhttp/plugins/dynamix.plugin.manager/include/UnraidCheck.php +++ b/emhttp/plugins/dynamix.plugin.manager/include/UnraidCheck.php @@ -1,6 +1,6 @@