diff options
author | Richard Hughes <richard@hughsie.com> | 2012-10-03 16:20:20 +0100 |
---|---|---|
committer | Richard Hughes <richard@hughsie.com> | 2012-10-03 16:20:20 +0100 |
commit | fd32f0be0f16b9420bdecd57d4a0cdcfc3882960 (patch) | |
tree | 7866e2d95cfbdd96f9036d4fe1bd1015916017d0 /src/up-wakeups.c | |
parent | 08c3ffc82ada966ddabb83f7308b612b327a5469 (diff) | |
download | upower-fd32f0be0f16b9420bdecd57d4a0cdcfc3882960.tar.gz |
Do not continue to poll if /proc/timer_stats is not readable
Resolves: https://bugzilla.redhat.com/show_bug.cgi?id=826191
Diffstat (limited to 'src/up-wakeups.c')
-rw-r--r-- | src/up-wakeups.c | 2 |
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; } /** |