mirror of
https://github.com/node-red/node-red.git
synced 2025-03-01 10:36:34 +00:00
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
This commit is contained in:
parent
25205f7440
commit
cd95c63daf
@ -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}
|
||||
|
Loading…
x
Reference in New Issue
Block a user