From ad6ddbfbae134f8e379d99b88f84ec58ca08c123 Mon Sep 17 00:00:00 2001 From: Robby Workman Date: Sat, 27 Dec 2008 00:37:03 -0600 Subject: [PATCH] Fixup pm-utils hook to return proper exit codes and fix logging. --- in/other=55wicd.in | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/in/other=55wicd.in b/in/other=55wicd.in index 94ca3f1..7e71456 100755 --- a/in/other=55wicd.in +++ b/in/other=55wicd.in @@ -7,15 +7,13 @@ wicd_suspend() { # Put wifi interface down - %LIB%suspend.py 2>/dev/null - return $NA + %LIB%suspend.py 2>/dev/null || return $NA } wicd_resume() { # Bring wifi interface back up - %LIB%autoconnect.py 2>/dev/null - return $NA + %LIB%autoconnect.py 2>/dev/null || return $NA } case "$1" in