Skip to content

Commit

Permalink
Small improvement
Browse files Browse the repository at this point in the history
  • Loading branch information
slowpeek committed Jan 30, 2024
1 parent e0d9de7 commit 7077239
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion hddtemp-lt
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 7077239

Please sign in to comment.