diff --git a/groundstation/sstv_decode_prompt.sh b/groundstation/sstv_decode_prompt.sh index 733beb36..dda43e11 100755 --- a/groundstation/sstv_decode_prompt.sh +++ b/groundstation/sstv_decode_prompt.sh @@ -34,6 +34,8 @@ frequency=$(zenity --list 2>/dev/null --title="Choose the frequency for SSTV dec echo $frequency +if [ -z "$frequency" ]; then + echo echo "Choose the number for the frequency for SSTV decoding:" @@ -45,6 +47,8 @@ echo read -r choice +fi + if [ "$choice" = "1" ] || [ "$frequency" = "145800" ]; then frequency=145800000