mirror of
https://github.com/angristan/wireguard-install.git
synced 2024-11-28 15:46:03 +03:00
Exit if the client exists
This commit is contained in:
parent
a193f5ad78
commit
9a68ffa88b
@ -252,6 +252,7 @@ function newClient() {
|
||||
echo ""
|
||||
echo "A client with the specified name was already created, please choose another name."
|
||||
echo ""
|
||||
exit 1
|
||||
fi
|
||||
done
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user