From: skeezix Date: Thu, 17 Dec 2009 04:12:42 +0000 (-0500) Subject: Added an extra log line; could be useful if you're sitting around watching logs X-Git-Tag: Release-2010-05/1~143^2~3 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=56260c472c068baa739be4b8db7ae6c72746d63a;p=pandora-libraries.git Added an extra log line; could be useful if you're sitting around watching logs --- 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 );