From 9e5081a4b15e8aee06a1dc4fbf8219581433ddce Mon Sep 17 00:00:00 2001 From: cdpath Date: Fri, 24 Sep 2021 10:10:47 +0800 Subject: [PATCH] fix: word not found should not lead to setting page --- sources/anki.popclipext/anki.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sources/anki.popclipext/anki.sh b/sources/anki.popclipext/anki.sh index 2c034a2..60144c1 100644 --- a/sources/anki.popclipext/anki.sh +++ b/sources/anki.popclipext/anki.sh @@ -63,7 +63,7 @@ look_up() if [[ -z "$definition" ]]; then echo "Word Not Found" - exit 2 + exit 1 else echo $definition fi