diff --git a/emhttp/plugins/dynamix.plugin.manager/scripts/language b/emhttp/plugins/dynamix.plugin.manager/scripts/language index b613f3c43..f735ee4e1 100755 --- a/emhttp/plugins/dynamix.plugin.manager/scripts/language +++ b/emhttp/plugins/dynamix.plugin.manager/scripts/language @@ -151,7 +151,7 @@ function download($url, $name, &$error) { // Deal with logging message. // function logger($message) { - shell_exec("logger $message"); + shell_exec("logger -- \"$message\""); } // Interpret a language file diff --git a/emhttp/plugins/dynamix.plugin.manager/scripts/plugin b/emhttp/plugins/dynamix.plugin.manager/scripts/plugin index e2a60ccc5..7f1c0c979 100755 --- a/emhttp/plugins/dynamix.plugin.manager/scripts/plugin +++ b/emhttp/plugins/dynamix.plugin.manager/scripts/plugin @@ -284,7 +284,7 @@ function filter_url($url) { // Deal with logging message. // function logger($message) { - shell_exec("logger $message"); + shell_exec("logger -- \"$message\""); } // Interpret a plugin file