[Pm-utils] [PATCH 07/17] Get rid of redundant calls to exit.

Victor Lowther victor.lowther at gmail.com
Sat Feb 16 12:30:04 PST 2008


---
 pm/sleep.d/20video |    4 +---
 1 files changed, 1 insertions(+), 3 deletions(-)

diff --git a/pm/sleep.d/20video b/pm/sleep.d/20video
index 709226c..05d91ee 100755
--- a/pm/sleep.d/20video
+++ b/pm/sleep.d/20video
@@ -25,7 +25,7 @@ suspend_video()
 {
 	# 0=nothing, 1=s3_bios, 2=s3_mode, 3=both
 	if [ "${DISPLAY_QUIRK_S3_BIOS}" = "true" -a \
-			"${DISPLAY_QUIRK_S3_MODE}" = "true" ]; then
+		"${DISPLAY_QUIRK_S3_MODE}" = "true" ]; then
 		sysctl -w kernel.acpi_video_flags=3
 	elif [ "${DISPLAY_QUIRK_S3_BIOS}" = "true" ]; then
 		sysctl -w kernel.acpi_video_flags=1
@@ -65,5 +65,3 @@ case "$1" in
 		fi
 		;;
 esac
-
-exit $?
-- 
1.5.3.8



More information about the Pm-utils mailing list