Skip to content

Commit 02185da

Browse files
feat: simplifying statement
1 parent 5e46eb0 commit 02185da

File tree

1 file changed

+1
-4
lines changed

1 file changed

+1
-4
lines changed

go.sh

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2,10 +2,7 @@ export IP_ADDRESS=$(/sbin/ip -o -4 addr list eno2 | awk '{print $4}' | cut -d/ -
22

33
cp /secrets/certs/* nginx/filesystem/etc/nginx/certs
44
docker compose build --build-arg IP_ADDRESS=$IP_ADDRESS
5-
if [ "$?" != "0" ]
6-
then
7-
exit 1
8-
fi
5+
if [ "$?" != "0" ] then; exit 1; fi;
96

107
docker compose down
118
docker compose up -d

0 commit comments

Comments
 (0)