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

Victor Lowther victor.lowther at gmail.com
Thu Feb 14 20:40:01 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