Explorar o código

Fixed install.sh start nginx-ui issue

Jacky %!s(int64=2) %!d(string=hai) anos
pai
achega
376b0535f0
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  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