Skip to content

Commit ba80ae1

Browse files
Merge pull request #92 from nullinside-development-group/feat/simple
feat: simplifying statement
2 parents 5e46eb0 + c54d299 commit ba80ae1

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)