Use set -eux in scripts

This commit is contained in:
erik 2023-11-03 10:58:56 +01:00
parent 674160cc25
commit 52642908e0
7 changed files with 11 additions and 3 deletions

View file

@ -1,6 +1,6 @@
#!/bin/bash
set -o pipefail
set -eux
function main() {
file_env AWS_ACCESS_KEY_ID

View file

@ -1,5 +1,7 @@
#!/bin/bash
set -eux
function main() {
create-pg-pass

View file

@ -1,5 +1,7 @@
#!/bin/bash
set -eux
function main() {
create-pg-pass

View file

@ -1,5 +1,7 @@
#!/bin/bash
set -eux
function main() {
file_env AWS_ACCESS_KEY_ID
file_env AWS_SECRET_ACCESS_KEY

View file

@ -1,5 +1,7 @@
#!/bin/bash
set -eux
apt-get update > /dev/null;
install -m 0700 /tmp/entrypoint.sh /

View file

@ -1,6 +1,6 @@
#!/bin/bash
set -o pipefail
set -eux
function main() {
file_env AWS_ACCESS_KEY_ID

View file

@ -1,6 +1,6 @@
#!/bin/bash
set -Eeo pipefail
set -eux
function main() {