From 56260c472c068baa739be4b8db7ae6c72746d63a Mon Sep 17 00:00:00 2001 From: skeezix Date: Wed, 16 Dec 2009 23:12:42 -0500 Subject: [PATCH] Added an extra log line; could be useful if you're sitting around watching logs --- apps/pndnotifyd.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/apps/pndnotifyd.c b/apps/pndnotifyd.c index 3720131..e52d8e8 100644 --- a/apps/pndnotifyd.c +++ b/apps/pndnotifyd.c @@ -119,6 +119,8 @@ int main ( int argc, char *argv[] ) { pnd_log ( pndn_rem, "Interval between checks is %u seconds\n", interval_secs ); // check if inotify is awake yet; if not, try waiting for awhile to see if it does + pnd_log ( pndn_rem, "Starting INOTIFY test; should be instant, but may take awhile...\n" ); + if ( ! pnd_notify_wait_until_ready ( 120 /* seconds */ ) ) { pnd_log ( pndn_error, "ERROR: INOTIFY refuses to be useful and quite awhile has passed. Bailing out.\n" ); return ( -1 ); -- 2.39.5