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... "