Просмотр исходного кода

Fixed install.sh start nginx-ui issue

Jacky 2 лет назад
Родитель
Сommit
376b0535f0
1 измененных файлов с 1 добавлено и 1 удалено
  1. 1 1
      install.sh

+ 1 - 1
install.sh

@@ -303,7 +303,7 @@ EOF
 }
 
 start_nginx_ui() {
-    if [[ -f ServicePath ]]; then
+    if [[ -f "$ServicePath" ]]; then
         systemctl start nginx-ui
         sleep 1s
         if systemctl -q is-active nginx-ui; then