fix(node-red-pi): node-red not started by path

Double quote to prevent globbing and word splitting.
https://github.com/koalaman/shellcheck/wiki/SC2086
pull/4736/head
Rotzbua 2024-05-30 01:53:51 +02:00
parent 25205f7440
commit cd95c63daf
No known key found for this signature in database
GPG Key ID: C69022D529C17845
1 changed files with 1 additions and 1 deletions

View File

@ -41,4 +41,4 @@ SCRIPT_PATH=$(pwd)
cd "$CURRENT_PATH" || exit 1
# Run Node-RED
exec /usr/bin/env node ${OPTIONS} ${SCRIPT_PATH}/../red.js ${ARGS}
exec /usr/bin/env node ${OPTIONS} "${SCRIPT_PATH}"/../red.js ${ARGS}