aboutsummaryrefslogtreecommitdiffstats
path: root/SOURCE
diff options
context:
space:
mode:
Diffstat (limited to 'SOURCE')
-rw-r--r--SOURCE/CORE/core-remove.sh4
1 files changed, 4 insertions, 0 deletions
diff --git a/SOURCE/CORE/core-remove.sh b/SOURCE/CORE/core-remove.sh
index 5776bbc..0111d0f 100644
--- a/SOURCE/CORE/core-remove.sh
+++ b/SOURCE/CORE/core-remove.sh
@@ -29,6 +29,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
@@ -43,8 +44,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