mirror of
https://github.com/argoproj/argo-cd
synced 2026-04-21 17:07:16 +00:00
9 lines
205 B
Bash
Executable file
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
|