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