set -exo to set -eo
This commit is contained in:
parent
9d21df39a4
commit
19de8d74d2
|
@ -1,5 +1,5 @@
|
||||||
#!/usr/bin/env bash
|
#!/usr/bin/env bash
|
||||||
set -exo pipefail
|
set -eo pipefail
|
||||||
|
|
||||||
if [ ! -f .env ]; then
|
if [ ! -f .env ]; then
|
||||||
echo "Please create a .env file"
|
echo "Please create a .env file"
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
#!/usr/bin/env bash
|
#!/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)"
|
dns_container_id="$(docker ps | grep "$OVPN_DNS_CONTAINER_NAME_PATTERN" | awk '{ print $1 }' 2> /dev/null)"
|
||||||
if [ "$dns_container_id" != "" ]; then
|
if [ "$dns_container_id" != "" ]; then
|
||||||
|
|
2
start.sh
2
start.sh
|
@ -1,5 +1,5 @@
|
||||||
#!/usr/bin/env bash
|
#!/usr/bin/env bash
|
||||||
set -exo pipefail
|
set -eo pipefail
|
||||||
|
|
||||||
if [ ! -f .env ]; then
|
if [ ! -f .env ]; then
|
||||||
echo "Please create a .env file"
|
echo "Please create a .env file"
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
#!/usr/bin/env bash
|
#!/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)"
|
dns_container_id="$(docker ps | grep "$OVPN_DNS_CONTAINER_NAME_PATTERN" | awk '{ print $1 }' 2> /dev/null)"
|
||||||
if [ "$dns_container_id" != "" ]; then
|
if [ "$dns_container_id" != "" ]; then
|
||||||
|
|
Loading…
Reference in New Issue