Parcourir la source

Fixed install.sh start nginx-ui issue

Jacky il y a 2 ans
Parent
commit
376b0535f0
1 fichiers modifiés avec 1 ajouts et 1 suppressions
  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