aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xanypinentry2
1 files changed, 1 insertions, 1 deletions
diff --git a/anypinentry b/anypinentry
index bdd0afd..55bb842 100755
--- a/anypinentry
+++ b/anypinentry
@@ -72,7 +72,7 @@ interpret_command() {
cmd="$(echo "$1" | cut -d' ' -f1)";
data="$(echo "$1" | cut -d' ' -f2-)";
- case "$cmd" in
+ case "${cmd^^}" in
INIT) echo "OK Pleased to meet you" ;;
OPTION) save_option "$data" ;;
GETINFO) get_info "$data" ;;