Merge pull request #6 from lucaswall/patch-1

Correctly handle -s argument with spaces.
This commit is contained in:
Jack-Benny Persson 2020-04-17 19:46:40 +02:00 committed by GitHub
commit c60b88813a
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
fi
sensor_declared=true
process_sensor $2
process_sensor "$2"
shift 2
;;