Skip to content
This repository has been archived by the owner on Mar 16, 2024. It is now read-only.

fix detection when AUTH_SECRET is empty #108

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion build/entry.sh
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ if is_enabled "$KILL_SWITCH"; then
fi

# Docker secret that contains the credentials for accessing the VPN.
if [[ $AUTH_SECRET ]]; then
if [[ ! -z "${AUTH_SECRET-}" ]]; then
openvpn_args+=("--auth-user-pass" "/run/secrets/$AUTH_SECRET")
fi

Expand Down