diff options
-rw-r--r-- | pym/portage/package/ebuild/digestcheck.py | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/pym/portage/package/ebuild/digestcheck.py b/pym/portage/package/ebuild/digestcheck.py index e4432f186..9354bfe45 100644 --- a/pym/portage/package/ebuild/digestcheck.py +++ b/pym/portage/package/ebuild/digestcheck.py @@ -32,6 +32,8 @@ def digestcheck(myfiles, mysettings, strict=False, justmanifest=None): pkgdir = mysettings["O"] manifest_path = os.path.join(pkgdir, "Manifest") if not os.path.exists(manifest_path): + if allow_missing: + return 1 writemsg(_("!!! Manifest file not found: '%s'\n") % manifest_path, noiselevel=-1) if strict: |