summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMartin Pitt <martin.pitt@ubuntu.com>2010-02-03 11:06:17 -0800
committerMichael Biebl <mbiebl@gmail.com>2010-02-03 20:34:43 +0100
commite5b0df69127b32f974cf9506460e7852cd25b8e4 (patch)
tree58f029f53f5e66c36d9bec1ff1b29b124bdcb971
parent665bad4f548f19ab8706026c646e44cdab8c37f9 (diff)
fix usage of find_native()
98-video-quirk-db-handler expects find_native() to write the quirks to stdout, so actually do write them there. This makes the native quirks work.
-rwxr-xr-xpm/sleep.d/98-video-quirk-db-handler3
1 files changed, 3 insertions, 0 deletions
diff --git a/pm/sleep.d/98-video-quirk-db-handler b/pm/sleep.d/98-video-quirk-db-handler
index 17a1cbc..337ae8c 100755
--- a/pm/sleep.d/98-video-quirk-db-handler
+++ b/pm/sleep.d/98-video-quirk-db-handler
@@ -300,6 +300,9 @@ find_native() (
[[ -f $1 ]] || return 1
exec <"$1"
_find_native work
+ res=$?
+ get_parameters
+ return $res
)
# If we resumed, write out the quirks we used as our last known