Jaap Marcus 3 лет назад
Родитель
Сommit
a569392fe3
1 измененных файлов с 2 добавлено и 1 удалено
  1. 2 1
      web/src/app/System/HestiaApp.php

+ 2 - 1
web/src/app/System/HestiaApp.php

@@ -23,7 +23,8 @@ class HestiaApp
             throw new \Exception($errstr);
         }
         $cli_script = '/usr/bin/sudo ' . escapeshellarg($cli_script);
-
+        
+        $cli_arguments = '';
         if (!empty($args) && is_array($args)) {
             foreach ($args as $arg) {
                 $cli_arguments .= escapeshellarg((string)$arg) . ' ';