Skip to content

Commit

Permalink
Use -g with tini, to make Ctrl-C work in non "-it" docker runs
Browse files Browse the repository at this point in the history
  • Loading branch information
errge committed Jan 29, 2024
1 parent 22c5065 commit e74b257
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tini-if-1
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
set -euo pipefail

if [[ "$$" = 1 ]]; then
exec tini -- "$@"
exec tini -g -- "$@"
else
exec "$@"
fi

0 comments on commit e74b257

Please sign in to comment.