Merge pull request #6 from lucaswall/patch-1

Correctly handle -s argument with spaces.
This commit is contained in:
jackbenny authored and GitHub committed 2020-04-17 19:46:40 +02:00
commit c60b88813a
1 file changed
+1 -1
+1 -1
View File
@@ -248,7 +248,7 @@ while [[ -n "$1" ]]; do
exit $STATE_UNKNOWN exit $STATE_UNKNOWN
fi fi
sensor_declared=true sensor_declared=true
process_sensor $2 process_sensor "$2"
shift 2 shift 2
;; ;;