dhcpcd-discuss

Typo in wpa_supplicant hook

MK

Mon Jul 08 21:01:17 2019

Hi!

Dhcpcd is great, thanks and keep up the good work.

There's a typo in 10-wpa_supplicant -> wpa_supplicant_stop():

        err=$(wpa_cli -i"$interface" terminate 2>&1)
        errn=$?
        if [ $errn != 0 ]; then
                syslog err "failed to start wpa_supplicant"
                                      ^^^^^

Looks like part of that was copy-pasted from supplicant_start(), and may confuse someone trying to debug some scenario.  It's present in the github repo and downstream in current
fedora and debian packages.

MK 


Follow-Ups:
Re: Typo in wpa_supplicant hookRoy Marples
Archive administrator: postmaster@marples.name