Merge pull request #4736 from Rotzbua/fix_pi_script

fix(node-red-pi): node-red not started by path
This commit is contained in:
Nick O'Leary
2024-05-30 16:47:25 +01:00
committed by GitHub

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}