Skip to content

fix qvpn - qvpn marks QVPN_VERSION as readonly - #2

Open
catwomaniya wants to merge 1 commit into
baymac:mainfrom
catwomaniya:kewar
Open

fix qvpn - qvpn marks QVPN_VERSION as readonly#2
catwomaniya wants to merge 1 commit into
baymac:mainfrom
catwomaniya:kewar

Conversation

@catwomaniya

Copy link
Copy Markdown

qvpn marks QVPN_VERSION as readonly, but qvpn init was saving QVPN_VERSION=... into /etc/wireguard/.qvpn-meta. Later qvpn add laptop sourced that file and tried to assign the readonly variable again.
Changed:
qvpn (line 242): load_meta now ignores legacy QVPN_VERSION= lines, and save_meta no longer writes them.
tests/run.sh (line 359): added a regression test for old .qvpn-meta files.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant