@@ -313,7 +313,7 @@ _WAS_TIMEOUT_USED="false" # Use strings "true" or "false" for shell boolean
313313
314314if command -v timeout >/dev/null 2>&1; then
315315 echo "[postStart hook] Executing commands with timeout: ${POSTSTART_TIMEOUT_DURATION} seconds, kill after: ${POSTSTART_KILL_AFTER_DURATION} seconds" >&2
316- _TIMEOUT_COMMAND_PART="timeout --preserve-status --kill-after=\" ${POSTSTART_KILL_AFTER_DURATION}\" \" ${POSTSTART_TIMEOUT_DURATION}\" "
316+ _TIMEOUT_COMMAND_PART="timeout --preserve-status --kill-after=${POSTSTART_KILL_AFTER_DURATION} ${POSTSTART_TIMEOUT_DURATION}"
317317 _WAS_TIMEOUT_USED="true"
318318else
319319 echo "[postStart hook] WARNING: 'timeout' utility not found. Executing commands without timeout." >&2
@@ -359,7 +359,7 @@ _WAS_TIMEOUT_USED="false" # Use strings "true" or "false" for shell boolean
359359
360360if command -v timeout >/dev/null 2>&1; then
361361 echo "[postStart hook] Executing commands with timeout: ${POSTSTART_TIMEOUT_DURATION} seconds, kill after: ${POSTSTART_KILL_AFTER_DURATION} seconds" >&2
362- _TIMEOUT_COMMAND_PART="timeout --preserve-status --kill-after=\" ${POSTSTART_KILL_AFTER_DURATION}\" \" ${POSTSTART_TIMEOUT_DURATION}\" "
362+ _TIMEOUT_COMMAND_PART="timeout --preserve-status --kill-after=${POSTSTART_KILL_AFTER_DURATION} ${POSTSTART_TIMEOUT_DURATION}"
363363 _WAS_TIMEOUT_USED="true"
364364else
365365 echo "[postStart hook] WARNING: 'timeout' utility not found. Executing commands without timeout." >&2
@@ -404,7 +404,7 @@ _WAS_TIMEOUT_USED="false" # Use strings "true" or "false" for shell boolean
404404
405405if command -v timeout >/dev/null 2>&1; then
406406 echo "[postStart hook] Executing commands with timeout: ${POSTSTART_TIMEOUT_DURATION} seconds, kill after: ${POSTSTART_KILL_AFTER_DURATION} seconds" >&2
407- _TIMEOUT_COMMAND_PART="timeout --preserve-status --kill-after=\" ${POSTSTART_KILL_AFTER_DURATION}\" \" ${POSTSTART_TIMEOUT_DURATION}\" "
407+ _TIMEOUT_COMMAND_PART="timeout --preserve-status --kill-after=${POSTSTART_KILL_AFTER_DURATION} ${POSTSTART_TIMEOUT_DURATION}"
408408 _WAS_TIMEOUT_USED="true"
409409else
410410 echo "[postStart hook] WARNING: 'timeout' utility not found. Executing commands without timeout." >&2
@@ -449,7 +449,7 @@ _WAS_TIMEOUT_USED="false" # Use strings "true" or "false" for shell boolean
449449
450450if command -v timeout >/dev/null 2>&1; then
451451 echo "[postStart hook] Executing commands with timeout: ${POSTSTART_TIMEOUT_DURATION} seconds, kill after: ${POSTSTART_KILL_AFTER_DURATION} seconds" >&2
452- _TIMEOUT_COMMAND_PART="timeout --preserve-status --kill-after=\" ${POSTSTART_KILL_AFTER_DURATION}\" \" ${POSTSTART_TIMEOUT_DURATION}\" "
452+ _TIMEOUT_COMMAND_PART="timeout --preserve-status --kill-after=${POSTSTART_KILL_AFTER_DURATION} ${POSTSTART_TIMEOUT_DURATION}"
453453 _WAS_TIMEOUT_USED="true"
454454else
455455 echo "[postStart hook] WARNING: 'timeout' utility not found. Executing commands without timeout." >&2
0 commit comments