Bug #580

-M option fails and reports success...

Added by Daniel J Blueman 474 days ago. Updated 447 days ago.

Status:Closed Start:
Priority:Normal Due date:
Assigned to:Andreas Huggel % Done:

100%

Category:tools
Target version:0.18

Description

When invoking exiv2 with multiple -M options, the first is processed, and an error is given for the second, but the return code is 0.

$ exiv2 mo -M 'set Exif.Image.Copyright Ascii Me' -M 'set Exif.Image.Orientation Short left, top' _MG_3095.jpg
Warning: Exif.Image.Orientation: Failed to read Short value "left, top"
$ echo $?
0

This has high impact, since the second EXIF tag update has been reported to succeed, but didn't.

History

Updated by Andreas Huggel 468 days ago

The return code of the modify command is currently always 0, not only if the second command fails. But I agree this can be improved.

Updated by Andreas Huggel 463 days ago

Updated by Andreas Huggel 448 days ago

  • % Done changed from 0 to 100

Updated by Andreas Huggel 447 days ago

  • Status changed from Resolved to Closed

Also available in: Atom PDF