dnk: improve wg-manager

This commit is contained in:
Daniil Firsov 2023-01-24 20:39:49 +03:00
parent 624d9b74fb
commit d4afc5d6c4

View File

@ -151,8 +151,8 @@ EOF
function create {
if [ -f "keys/${USER}/${USER}.conf" ]; then
echo "ERROR: user already exists" >&2
exit 1
echo "WARNING: key ${USER}.conf already exists" >&2
return 0
fi
SERVER_ENDPOINT=$(cat "keys/.server")