From b6241fd46d056f00ae2f054bf6f5cb30c8fc1e44 Mon Sep 17 00:00:00 2001 From: Lucas Wall Date: Fri, 17 Apr 2020 14:27:49 -0300 Subject: [PATCH] Correctly handle -s argument with spaces. --- check_temp.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/check_temp.sh b/check_temp.sh index 95ff61f..ea0c94d 100755 --- a/check_temp.sh +++ b/check_temp.sh @@ -248,7 +248,7 @@ while [[ -n "$1" ]]; do exit $STATE_UNKNOWN fi sensor_declared=true - process_sensor $2 + process_sensor "$2" shift 2 ;;