aboutsummaryrefslogtreecommitdiff
path: root/vpn
diff options
context:
space:
mode:
Diffstat (limited to 'vpn')
-rwxr-xr-xvpn4
1 files changed, 1 insertions, 3 deletions
diff --git a/vpn b/vpn
index b22667f..0eef247 100755
--- a/vpn
+++ b/vpn
@@ -19,9 +19,7 @@ main()
else
sudo -A -p " init, authentication required: " wg-quick up "$wg_conf" &&
note "traffic routed through $wg_conf"
- fi
-
- command -v wip > /dev/null &&
+ fi && command -v wip > /dev/null &&
wip
}