summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/lib/Server/Plugins/FileProbes.py5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/lib/Server/Plugins/FileProbes.py b/src/lib/Server/Plugins/FileProbes.py
index 4df5a7f4a..751ca529b 100644
--- a/src/lib/Server/Plugins/FileProbes.py
+++ b/src/lib/Server/Plugins/FileProbes.py
@@ -77,8 +77,9 @@ class FileProbes(Bcfg2.Server.Plugin.Plugin,
# for which update is false; we can't possibly do
# anything with the data we get from such a probe
try:
- if (cfg.entries[path].get_pertinent_entries(metadata) and
- entry.get('update', 'false').lower() == "false"):
+ if (entry.get('update', 'false').lower() == "false" and
+ cfg.entries[path].get_pertinent_entries(entry,
+ metadata)):
continue
except (KeyError, Bcfg2.Server.Plugin.PluginExecutionError):
pass