We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4fb4661 commit 446990bCopy full SHA for 446990b
pritunl-nginx-proxy/entrypoint.sh
@@ -27,7 +27,8 @@ else
27
pritunl-client add "/conf/pritunl-profiles/$PRITUNL_PROFILE"
28
29
# Get the profile ID
30
- PROFILE_ID=$(pritunl-client list | awk 'NR==1{print $1}')
+ pritunl-client list
31
+ PROFILE_ID=$(pritunl-client list | awk 'NR==4{print $1}')
32
33
if [ -z "$PROFILE_ID" ]; then
34
log "Error: Failed to get profile ID for $PRITUNL_PROFILE | $PROFILE_ID"
0 commit comments