angristan / wireguard-install

WireGuard VPN installer for Linux servers
https://stanislas.blog/2019/01/how-to-setup-vpn-server-wireguard-nat-ipv6/
MIT License
8.12k stars 1.32k forks source link

revoke doesn't remove generated client file #322

Closed tokon2000 closed 1 year ago

tokon2000 commented 2 years ago

If it is installed at /home/user/... the revoke function doesn't remove the generated client file. ${HOME} refers to /root/...

https://github.com/angristan/wireguard-install/blob/4dfbc55cd91861c357c5ff07146c8639fcb89c61/wireguard-install.sh#L357

angristan commented 1 year ago

Fixed with https://github.com/angristan/wireguard-install/commit/7565f26b5d2e4542f777001859970378704ce288