diff --git a/src/main/stage1.sns.sh b/src/main/stage1.sns.sh index 98fd341..f9ba024 100644 --- a/src/main/stage1.sns.sh +++ b/src/main/stage1.sns.sh @@ -43,7 +43,7 @@ if [ "$ENCRYPTION" == "TRUE" ]; then # does not wish to decrypt all notes. else if [ ! -r "$NOTES_DIR"/.do_not_decrypt ]; then - if [ -n $(find "$NOTES_DIR" -type f -name "*.gpg.$EXT" > /dev/null) ]; then + if [ -n "$(find "$NOTES_DIR" -type f -name "*.gpg.$EXT" > /dev/null)" ]; then while true; do read -p "Would you like to de-encrypt previously encrypted notes? " YN case $YN in