more debug

This commit is contained in:
John Whitington 2018-03-20 15:43:15 +00:00
parent 248ea494e4
commit 9963f9db00
1 changed files with 3 additions and 2 deletions

View File

@ -3273,13 +3273,14 @@ let go () =
saved encryption information in the PDF, or (b) decrypted using saved encryption information in the PDF, or (b) decrypted using
the owner password (stored in the input) *) the owner password (stored in the input) *)
if if
not (not args.debugforce) &&
(not
(fold_left ( && ) true (fold_left ( && ) true
(map2 (map2
(fun (_, _, _, _, was_dec_with_owner, _) pdf -> (fun (_, _, _, _, was_dec_with_owner, _) pdf ->
!was_dec_with_owner || pdf.Pdf.saved_encryption = None) !was_dec_with_owner || pdf.Pdf.saved_encryption = None)
inputs inputs
pdfs)) pdfs)))
then then
soft_error "Merge requires the owner password for all encrypted files." soft_error "Merge requires the owner password for all encrypted files."
else else