Skip to content

Commit 6abbb8d

Browse files
committed
fix: shell check
Signed-off-by: matttrach <matt.trachier@suse.com>
1 parent 0d225a7 commit 6abbb8d

2 files changed

Lines changed: 2 additions & 0 deletions

File tree

modules/deploy/create.sh.tpl

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@ CREATE_AFTER_PERSIST=$1
66
# Add ~/bin to PATH for age and aws
77
export PATH="$HOME/bin:$PATH"
88

9+
# shellcheck disable=SC2329
910
cleanup() {
1011
echo "Script interrupted. Cleaning up..."
1112
if [ "$SECRETS_DECRYPTED" = "1" ] && [ -n "$DECRYPTED_SECRETS" ] && [ -f "$DECRYPTED_SECRETS" ]; then

modules/deploy/destroy.sh.tpl

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@ DIR=$(pwd)
44
# Add ~/bin to PATH for age and aws
55
export PATH="$${HOME}/bin:$PATH"
66

7+
# shellcheck disable=SC2329
78
cleanup() {
89
echo "Script interrupted. Cleaning up..."
910
if [ "$SECRETS_DECRYPTED" = "1" ] && [ -n "$DECRYPTED_SECRETS" ] && [ -f "$DECRYPTED_SECRETS" ]; then

0 commit comments

Comments
 (0)