浏览代码

Update photoprism-update.sh

tteckster 3 年之前
父节点
当前提交
e7f9405332
共有 1 个文件被更改,包括 1 次插入5 次删除
  1. 1 5
      misc/photoprism-update.sh

+ 1 - 5
misc/photoprism-update.sh

@@ -47,11 +47,8 @@ option_picked(){
     printf " ${YW}${message1}${CL}\n"
 }
 show_menu
-while [ $opt != '' ]
+while [ "$opt" != " " ]
     do
-    if [ $opt = '' ]; then
-      exit;
-    else
       case $opt in
         1) clear;
             header_info;
@@ -75,7 +72,6 @@ while [ $opt != '' ]
             show_menu;
         ;;
       esac
-    fi
   done
 
 echo -en "${GN} Stopping PhotoPrism... "