Correctly handle -s argument with spaces.

This commit is contained in:
Lucas Wall 2020-04-17 14:27:49 -03:00 committed by GitHub
parent b618a2cc8d
commit b6241fd46d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

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
;; ;;