summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rwxr-xr-xbin/egencache2
1 files changed, 1 insertions, 1 deletions
diff --git a/bin/egencache b/bin/egencache
index 515c6566d..64e60925b 100755
--- a/bin/egencache
+++ b/bin/egencache
@@ -404,7 +404,7 @@ def egencache_main(args):
'and/or --update-use-local-desc)')
return 1
- if 'metadata-transfer' not in settings.features:
+ if options.update and 'metadata-transfer' not in settings.features:
writemsg_level("ecachegen: warning: " + \
"automatically enabling FEATURES=metadata-transfer\n",
level=logging.WARNING, noiselevel=-1)