[Pm-utils] [PATCH 03/17] Eliminated useless use of RETVAL in 00clear

Victor Lowther victor.lowther at gmail.com
Mon Feb 11 13:44:39 PST 2008


---
 pm/sleep.d/00clear |    4 ----
 1 files changed, 0 insertions(+), 4 deletions(-)

diff --git a/pm/sleep.d/00clear b/pm/sleep.d/00clear
index b6260bd..976fc21 100755
--- a/pm/sleep.d/00clear
+++ b/pm/sleep.d/00clear
@@ -2,14 +2,10 @@
 
 . "${PM_FUNCTIONS}"
 
-RETVAL=0
 case "$1" in
 	hibernate|suspend)
 		TERM=linux openvt -w -s -f -c 63 -- clear >/dev/null 2>&1
-		RETVAL=$?
 		;;
 	*)
 		;;
 esac
-
-exit $RETVAL
-- 
1.5.3.8



More information about the Pm-utils mailing list