Correctly handle -s argument with spaces.

This commit is contained in:
Lucas Wall authored and GitHub committed 2020-04-17 14:27:49 -03:00
1 parent b618a2cc8d
commit b6241fd46d
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
;; ;;