aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xanypinentry2
1 files changed, 1 insertions, 1 deletions
diff --git a/anypinentry b/anypinentry
index 6eab83e..438259c 100755
--- a/anypinentry
+++ b/anypinentry
@@ -66,7 +66,7 @@ save_option() {
get_info() {
arg=$(echo "$1" | tr a-z A-Z)
- case "$1" in
+ case "$arg" in
VERSION) echo "D $VERSION" && echo "OK" ;;
PID) echo "D $$" && echo "OK" ;;
*) com_error ;;