mirror of
https://github.com/alexbelgium/hassio-addons.git
synced 2026-03-17 02:08:19 +01:00
Fix cloudcmd argument quoting: use unquoted expansion for proper CLI arg passing
Co-authored-by: alexbelgium <44178713+alexbelgium@users.noreply.github.com>
This commit is contained in:
@@ -92,7 +92,8 @@ else
|
||||
bashio::log.error "Cloud Commander binary not found in /usr/src/app/bin or PATH."
|
||||
exit 1
|
||||
fi
|
||||
"$CLOUDCMD_BIN" '"'"$DROPBOX_TOKEN""$CUSTOMOPTIONS"'"' &
|
||||
# shellcheck disable=SC2086
|
||||
"$CLOUDCMD_BIN" $DROPBOX_TOKEN $CUSTOMOPTIONS &
|
||||
bashio::net.wait_for 8000 localhost 900 || true
|
||||
bashio::log.info "Started !"
|
||||
exec nginx
|
||||
|
||||
Reference in New Issue
Block a user