From d1b5c0406c7f8f3424cb01b7f6d9a63a3e248ba9 Mon Sep 17 00:00:00 2001 From: Jared Kipe Date: Wed, 24 Feb 2021 13:49:29 -0800 Subject: [PATCH] [IMP] entrypoint.sh: do not always exist with an error status With `set -e` we already treat error exit statuses as errors. The motivation here is that one off "Job"s that run and exit with success should not be immediately restarted by the controller (aka kubernetes). --- entrypoint.sh | 2 -- 1 file changed, 2 deletions(-) diff --git a/entrypoint.sh b/entrypoint.sh index e965d855..a29a293a 100755 --- a/entrypoint.sh +++ b/entrypoint.sh @@ -68,5 +68,3 @@ case "$1" in *) exec "$@" esac - -exit 1 \ No newline at end of file