Skip to content

Commit 65410c3

Browse files
committed
explicitly set errexit option in shell scripts
1 parent 20b7a6b commit 65410c3

2 files changed

Lines changed: 2 additions & 0 deletions

File tree

pkg/controllers/scripts/setup.sh

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
#!/bin/bash -e
2+
set -o errexit
23

34
# Setup SSH
45
mkdir -p "$TFO_ROOT_PATH"/.ssh/

pkg/controllers/scripts/tf.sh

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
#!/bin/bash -e
2+
set -o errexit
23

34
function fixssh {
45
mkdir -p "$TFO_ROOT_PATH"/.ssh/

0 commit comments

Comments
 (0)