From: Jouni Malinen Date: Sat, 27 Feb 2010 18:03:13 +0000 (+0200) Subject: Do not inhibit suspend even if wpa_cli command fails X-Git-Tag: hostap_0_7_2~176 X-Git-Url: http://www.project-moonshot.org/gitweb/?p=mech_eap.git;a=commitdiff_plain;h=36d1343a4b8fb1453ff73d3ab2c98dd30be38c6f Do not inhibit suspend even if wpa_cli command fails There is no point in inhibiting suspend in case wpa_supplicant is not running and as such, return success unconditionally from this script. --- diff --git a/wpa_supplicant/examples/60_wpa_supplicant b/wpa_supplicant/examples/60_wpa_supplicant index f570ad3..39bd8e0 100755 --- a/wpa_supplicant/examples/60_wpa_supplicant +++ b/wpa_supplicant/examples/60_wpa_supplicant @@ -15,3 +15,5 @@ case "$1" in $WPACLI resume ;; esac + +exit 0