From bf5f55f5b5ec375ac1b0b565011b8bf9d0ccf178 Mon Sep 17 00:00:00 2001 From: Victor Lowther Date: Thu, 20 Mar 2008 19:33:44 -0500 Subject: Avoid incorrect exit code 1 failure messages in the log. Do this by forcing resume_video to always return 0, and by having modreload expliticly log if it cannot reload a module we unloaded before suspend. --- pm/sleep.d/99video | 1 + 1 file changed, 1 insertion(+) (limited to 'pm/sleep.d') diff --git a/pm/sleep.d/99video b/pm/sleep.d/99video index 1663dff..1f99f85 100755 --- a/pm/sleep.d/99video +++ b/pm/sleep.d/99video @@ -110,6 +110,7 @@ resume_video() quirk "${QUIRK_RADEON_OFF}" && radeon_on quirk "${QUIRK_DPMS_ON}" && vbe dpms on quirk "${QUIRK_RESET_BRIGHTNESS}" && reset_brightness + return 0 # avoid spurious hook exit failure message. } help() { -- cgit v1.2.3