Updated logger registration

This commit is contained in:
bergware
2023-10-03 10:21:19 +02:00
parent b51719bce4
commit ac0e67eeac
15 changed files with 81 additions and 47 deletions

View File

@@ -368,7 +368,7 @@ class DockerTemplates {
@copy($iconRAM,$icon);
}
if ( !is_file($iconRAM) ) {
exec("/usr/bin/logger -- ".escapeshellarg("$imageName: Could not download icon $imgUrl"));
exec("logger -t webGUI -- \"$imageName: Could not download icon $imgUrl\"");
}
return (is_file($iconRAM)) ? str_replace($docroot, '', $iconRAM) : '';