From 707723990d1b3ba15ef0a9b0787e4794daa924ea Mon Sep 17 00:00:00 2001 From: slowpeek Date: Tue, 30 Jan 2024 14:56:38 +0200 Subject: [PATCH] Small improvement --- hddtemp-lt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/hddtemp-lt b/hddtemp-lt index 3e93215..f6799f4 100755 --- a/hddtemp-lt +++ b/hddtemp-lt @@ -151,7 +151,7 @@ main() { shift ;; -u|--units) - [[ $2 == @(C|F) ]] || + [[ $2 == [CF] ]] || bye "The only valid values for $1 are 'C' and 'F'" units=$2