diff options
-rw-r--r-- | src/lib/Bcfg2/Server/FileMonitor/__init__.py | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/lib/Bcfg2/Server/FileMonitor/__init__.py b/src/lib/Bcfg2/Server/FileMonitor/__init__.py index ec21a744c..72b1d2dd7 100644 --- a/src/lib/Bcfg2/Server/FileMonitor/__init__.py +++ b/src/lib/Bcfg2/Server/FileMonitor/__init__.py @@ -265,7 +265,8 @@ class FileMonitor(object): if lock: lock.release() end = time() - LOGGER.info("Handled %d events in %.03fs" % (count, (end - start))) + if count > 0: + LOGGER.info("Handled %d events in %.03fs" % (count, (end - start))) def handle_events_in_interval(self, interval): """ Handle events for the specified period of time (in |