Skip to content

Commit ff9ef3c

Browse files
authored
syntax
1 parent 896db9e commit ff9ef3c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pritunl-nginx-proxy/entrypoint.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ else
4848
ATTEMPTS=0
4949
MAX_ATTEMPTS=12
5050
while [ $ATTEMPTS -lt $MAX_ATTEMPTS ]; do
51-
if pritunl-client list | grep -q "Connected"; then
51+
if if pritunl-client list | grep -q "|.*Active.*|"; then
5252
log "VPN connection established successfully!"
5353
break
5454
fi

0 commit comments

Comments
 (0)