diff options
author | Victor Lowther <victor.lowther@gmail.com> | 2008-02-16 09:59:53 -0600 |
---|---|---|
committer | Victor Lowther <victor.lowther@gmail.com> | 2008-02-16 09:59:53 -0600 |
commit | b1fdee390a5b5972b0c71752445354f9d3f50816 (patch) | |
tree | 1fa1a827821a11d5c01cfad48be40e6b87922453 /pm | |
parent | 25e73f1a6b1340f6ff125c3126a39f4d30788f04 (diff) |
Get rid of redundant calls to exit.
Diffstat (limited to 'pm')
-rwxr-xr-x | 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 $? |