mirror of https://github.com/node-red/node-red.git
fix(node-red-pi): node-red not started by path
Double quote to prevent globbing and word splitting. https://github.com/koalaman/shellcheck/wiki/SC2086pull/4736/head
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…
Reference in New Issue