fix cd bug in ds_run, and fix ds ssh so it doesnt hang process
All checks were successful
Build-Test-Publish / build (linux/amd64) (push) Successful in 48s
Build-Test-Publish / build (linux/arm64) (push) Successful in 3m10s

This commit is contained in:
j
2026-01-02 22:02:46 +13:00
parent b20bf7476c
commit 767692160d
4 changed files with 34 additions and 4 deletions

View File

@@ -86,5 +86,4 @@ fi
[[ -f "${COMMAND_TO_RUN}" ]] || _die "Command not found: ${DSCOMMAND} (looked for ${TEMPLATE_PATH}/${DSCOMMAND}[.sh])"
# -- Execute the command with any remaining arguments --
cd "${TEMPLATE_PATH}"
exec bash cd "${COMMAND_PATH}" && "${COMMAND_TO_RUN}" "$@"
cd "${COMMAND_PATH}" && exec "${COMMAND_TO_RUN}" "$@"