Browse Source

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.
Jouni Malinen 15 years ago
parent
commit
36d1343a4b
1 changed files with 2 additions and 0 deletions
  1. 2 0
      wpa_supplicant/examples/60_wpa_supplicant

+ 2 - 0
wpa_supplicant/examples/60_wpa_supplicant

@@ -15,3 +15,5 @@ case "$1" in
 		$WPACLI resume
 		;;
 esac
+
+exit 0