changed "return" to "exit"
This commit is contained in:
parent
48dd176d6e
commit
e548584603
1 changed files with 1 additions and 1 deletions
|
@ -5,7 +5,7 @@ IP=$1
|
||||||
if [[ -f /etc/wireguard/client/wg0.conf ]]
|
if [[ -f /etc/wireguard/client/wg0.conf ]]
|
||||||
then
|
then
|
||||||
echo "client/wg0.conf already exists. Please consider moving it to another place or deleting it"
|
echo "client/wg0.conf already exists. Please consider moving it to another place or deleting it"
|
||||||
return 1
|
exit 1
|
||||||
fi
|
fi
|
||||||
|
|
||||||
# generate client key pair
|
# generate client key pair
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue