浏览代码

Fixed install.sh start nginx-ui issue

Jacky 2 年之前
父节点
当前提交
376b0535f0
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      install.sh

+ 1 - 1
install.sh

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