--- /lib/rc/net/wpa_supplicant.sh.old 2008-08-27 03:20:19.000000000 +0200 +++ /lib/rc/net/wpa_supplicant.sh 2008-08-27 03:38:48.000000000 +0200 @@ -177,7 +177,7 @@ # Only stop wpa_supplicant if it's not the controlling daemon ! service_started_daemon "${RC_SVCNAME}" "${wpas}" 1 fi - [ $? != 0 ] && return 0 + [ $? == 0 ] && return 0 local pidfile="/var/run/wpa_cli-${IFACE}.pid" if [ -f ${pidfile} ]; then