argo-cd/entrypoint.sh
Oliver Gondža 5ee35ad707
fix: Address shellcheck detected shell warnings (#22686)
Signed-off-by: Oliver Gondža <ogondza@gmail.com>
2025-07-18 07:38:27 -04:00

9 lines
205 B
Bash
Executable file

#!/bin/sh
# If we're started as PID 1, we should wrap command execution through tini to
# prevent leakage of orphaned processes ("zombies").
if test "$$" = "1"; then
exec tini -- "$@"
else
exec "$@"
fi