From e7f9405332ca85e00784f4974136c51118202ce5 Mon Sep 17 00:00:00 2001 From: tteckster Date: Sat, 2 Apr 2022 09:04:33 -0400 Subject: [PATCH] Update photoprism-update.sh --- misc/photoprism-update.sh | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/misc/photoprism-update.sh b/misc/photoprism-update.sh index 0c7cda8f..7ab7f8f6 100644 --- a/misc/photoprism-update.sh +++ b/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... "