summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/lib/Server/Plugins/Cfg.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lib/Server/Plugins/Cfg.py b/src/lib/Server/Plugins/Cfg.py
index d9e7d2940..424dd6c9d 100644
--- a/src/lib/Server/Plugins/Cfg.py
+++ b/src/lib/Server/Plugins/Cfg.py
@@ -401,7 +401,7 @@ class Cfg(Bcfg2.Server.Plugin.Plugin):
for x in self.entries[entry_name].metadata.iteritems():
infofile.write("%s: %s\n" % x)
infofile.close()
- if not diff or fulldata:
+ if not diff and not fulldata:
raise SystemExit, 0
hsq = "Found host-specific file %s; Should it be updated (n/Y): "