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

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