X-Git-Url: https://git.danix.xyz/?p=bash-notes.git;a=blobdiff_plain;f=notes.sh;h=d0fd902f3a9e0fc97c5d44f8dfc38ccc8f17f2bb;hp=8a9c082237a31b84c5ec43f454811224d0610da1;hb=f1343f207a71b79c69474bd0205fa09b46a6a876;hpb=efa3e6079384bc77f194081dff89361e4eda87b2 diff --git a/notes.sh b/notes.sh index 8a9c082..d0fd902 100755 --- a/notes.sh +++ b/notes.sh @@ -379,6 +379,7 @@ function rmnote() { if [ ! "$OK" ]; then echo "invalid note \"$NOTE\"" echo "Use the note ID that you can fetch after listing your notes" + sleep 1 exit 1 fi @@ -393,8 +394,11 @@ function rmnote() { mv $TMPDB $DB rm $NOTESDIR/$FILE echo "Deleted note $TITLE" + sleep 1 + exit else echo "note not found" + sleep 1 exit 1 fi fi