From 887662597b9a5db113303bfc13121fcffa446190 Mon Sep 17 00:00:00 2001 From: Jochen Sprickerhof Date: Sat, 29 Oct 2022 07:48:35 +0200 Subject: Use case insensitive variable in get_info() --- anypinentry | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 ;; -- cgit v1.3.1