small change
This commit is contained in:
parent
c1e1a69b0a
commit
87bf784e9c
|
@ -100,11 +100,7 @@ connectwifi() {
|
|||
}
|
||||
|
||||
connect_no_pass() {
|
||||
iwctl station $seldevice connect $network || exit 0
|
||||
if [ -e "${BINDIR}notify-send" ]; then
|
||||
notify-send " Connected to $network!"
|
||||
fi
|
||||
exit 0
|
||||
iwctl station $seldevice connect $network && notify-send " Connected to $network!" || exit
|
||||
}
|
||||
fi
|
||||
|
||||
|
|
Loading…
Reference in a new issue