From 1d8b897e24d149caebd05615795ffad51d3a1b23 Mon Sep 17 00:00:00 2001 From: Arjan van de Ven Date: Tue, 12 May 2009 07:26:47 -0700 Subject: [PATCH] . --- corewatcher.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/corewatcher.c b/corewatcher.c index 0f2941a..b8a6af9 100644 --- a/corewatcher.c +++ b/corewatcher.c @@ -185,11 +185,12 @@ int main(int argc, char**argv) dbus_connection_add_filter(bus, got_message, NULL, NULL); } + if (!testmode) + sleep(20); + /* we scan dmesg before /var/log/messages; dmesg is a more accurate source normally */ scan_dmesg(NULL); /* during boot... don't go too fast and slow the system down */ - if (!testmode) - sleep(20); if (testmode) { g_main_loop_unref(loop); -- 2.7.4