[Pm-utils] [PATCH 05/17] Eliminate redundant RETVAL on 01grub

Victor Lowther victor.lowther at gmail.com
Mon Feb 11 13:46:19 PST 2008


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

diff --git a/pm/sleep.d/01grub b/pm/sleep.d/01grub
index ddc39ce..be55fdf 100644
--- a/pm/sleep.d/01grub
+++ b/pm/sleep.d/01grub
@@ -21,14 +21,10 @@ default_resume_kernel()
     return 0
 }
 
-RETVAL=0
 case "$1" in
 	hibernate)
 		default_resume_kernel
-		RETVAL=$?
 		;;
 	*)
 		;;
 esac
-
-exit $RETVAL
-- 
1.5.3.8



More information about the Pm-utils mailing list