summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRichard Hughes <richard@hughsie.com>2012-10-03 16:20:20 +0100
committerRichard Hughes <richard@hughsie.com>2012-10-03 16:20:20 +0100
commitfd32f0be0f16b9420bdecd57d4a0cdcfc3882960 (patch)
tree7866e2d95cfbdd96f9036d4fe1bd1015916017d0
parent08c3ffc82ada966ddabb83f7308b612b327a5469 (diff)
Do not continue to poll if /proc/timer_stats is not readable
Resolves: https://bugzilla.redhat.com/show_bug.cgi?id=826191
-rw-r--r--src/up-wakeups.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/up-wakeups.c b/src/up-wakeups.c
index 50b7bb0..e331500 100644
--- a/src/up-wakeups.c
+++ b/src/up-wakeups.c
@@ -567,7 +567,7 @@ skip:
out:
g_free (data);
g_strfreev (lines);
- return TRUE;
+ return ret;
}
/**