Skip to content

Commit 446990b

Browse files
authored
profile fix
1 parent 4fb4661 commit 446990b

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

pritunl-nginx-proxy/entrypoint.sh

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,8 @@ else
2727
pritunl-client add "/conf/pritunl-profiles/$PRITUNL_PROFILE"
2828

2929
# Get the profile ID
30-
PROFILE_ID=$(pritunl-client list | awk 'NR==1{print $1}')
30+
pritunl-client list
31+
PROFILE_ID=$(pritunl-client list | awk 'NR==4{print $1}')
3132

3233
if [ -z "$PROFILE_ID" ]; then
3334
log "Error: Failed to get profile ID for $PRITUNL_PROFILE | $PROFILE_ID"

0 commit comments

Comments
 (0)