@@ -313,7 +313,7 @@ _WAS_TIMEOUT_USED="false" # Use strings "true" or "false" for shell boolean
313
313
314
314
if command -v timeout >/dev/null 2>&1; then
315
315
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}"
317
317
_WAS_TIMEOUT_USED="true"
318
318
else
319
319
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
359
359
360
360
if command -v timeout >/dev/null 2>&1; then
361
361
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}"
363
363
_WAS_TIMEOUT_USED="true"
364
364
else
365
365
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
404
404
405
405
if command -v timeout >/dev/null 2>&1; then
406
406
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}"
408
408
_WAS_TIMEOUT_USED="true"
409
409
else
410
410
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
449
449
450
450
if command -v timeout >/dev/null 2>&1; then
451
451
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}"
453
453
_WAS_TIMEOUT_USED="true"
454
454
else
455
455
echo "[postStart hook] WARNING: 'timeout' utility not found. Executing commands without timeout." >&2
0 commit comments