1
0
Fork 0
mirror of synced 2024-11-16 14:15:34 -05:00

set -exo to set -eo

This commit is contained in:
Farid Musa 2024-01-01 22:00:20 +04:00
parent 9d21df39a4
commit 19de8d74d2
5 changed files with 5 additions and 5 deletions

View file

@ -1,5 +1,5 @@
#!/usr/bin/env bash
set -exo pipefail
set -eo pipefail
if [ ! -f .env ]; then
echo "Please create a .env file"

View file

@ -1,5 +1,5 @@
#!/usr/bin/env bash
set -exo pipefail
set -eo pipefail
dns_container_id="$(docker ps | grep "$OVPN_DNS_CONTAINER_NAME_PATTERN" | awk '{ print $1 }' 2> /dev/null)"
if [ "$dns_container_id" != "" ]; then

View file

@ -1,5 +1,5 @@
#!/usr/bin/env bash
set -exo pipefail
set -eo pipefail
if [ ! -f .env ]; then
echo "Please create a .env file"

View file

@ -1,5 +1,5 @@
#!/usr/bin/env bash
set -exo pipefail
set -eo pipefail
dns_container_id="$(docker ps | grep "$OVPN_DNS_CONTAINER_NAME_PATTERN" | awk '{ print $1 }' 2> /dev/null)"
if [ "$dns_container_id" != "" ]; then

View file

@ -1,5 +1,5 @@
#!/usr/bin/env bash
set -exo pipefail
set -eo pipefail
if [ ! -f .env ]; then
echo "Please create a .env file"