Do not inhibit suspend even if wpa_cli command fails
authorJouni Malinen <j@w1.fi>
Sat, 27 Feb 2010 18:03:13 +0000 (20:03 +0200)
committerJouni Malinen <j@w1.fi>
Sat, 27 Feb 2010 18:03:13 +0000 (20:03 +0200)
There is no point in inhibiting suspend in case wpa_supplicant is
not running and as such, return success unconditionally from this
script.

wpa_supplicant/examples/60_wpa_supplicant

index f570ad3..39bd8e0 100755 (executable)
@@ -15,3 +15,5 @@ case "$1" in
                $WPACLI resume
                ;;
 esac
+
+exit 0