Added pipefail to scripts

This commit is contained in:
Roger Gonzalez 2023-01-16 13:50:27 -03:00
parent d2921b52f0
commit 42fb678c91
Signed by: rogs
GPG Key ID: C7ECE9C6C36EC2E6
3 changed files with 4 additions and 3 deletions

View File

@ -1,5 +1,5 @@
#!/bin/bash #!/bin/bash
set -eo pipefail set -euxo pipefail
version=$(cat /etc/issue.net | awk '{print tolower($1)}') version=$(cat /etc/issue.net | awk '{print tolower($1)}')

View File

@ -1,5 +1,5 @@
#!/bin/bash #!/bin/bash
set -eu set -euxo pipefail
printf "\033c" printf "\033c"
echo "====================================================" echo "===================================================="

3
yams
View File

@ -1,5 +1,6 @@
#!/bin/bash #!/bin/bash
set -eo pipefail set -euxo pipefail
dc="docker-compose -f <filename>" dc="docker-compose -f <filename>"