From 8c07fc377cbcb087570f9788055e2dae6b0a814b Mon Sep 17 00:00:00 2001 From: shockrahwow Date: Wed, 18 Sep 2019 16:50:29 -0700 Subject: [PATCH] forgot exit kek --- wifi | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/wifi b/wifi index b71363a..4a5bb95 100755 --- a/wifi +++ b/wifi @@ -47,7 +47,8 @@ __kill_old() { __connect_config() { if [ -z "$debug_kill" ] then - if [ ! -f "$1" ]; then echo Config not found;fi + if [ ! -f "$1" ]; then echo Config not found\ + exit 0;fi __kill_old wpa_supplicant -B -i wlp1s0 -c "$1" dhclient wlp1s0