Skip to content

Commit

Permalink
Make entrypoint shell script fail if any step fails.
Browse files Browse the repository at this point in the history
  • Loading branch information
drakedevel authored and jaypipes committed Feb 12, 2020
1 parent 4e7af4c commit d16ef00
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions scripts/entrypoint.sh
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,8 @@
# CNI plugin binary and its configuration file to the well-known directory that
# Kubelet looks in.

# turn on exit on subprocess error and exit on undefined variables
set -eu
# turn on bash's job control
set -m

Expand Down

0 comments on commit d16ef00

Please sign in to comment.