Bug #580

-M option fails and reports success...

Added by Daniel J Blueman over 8 years ago. Updated over 8 years ago.

Status:ClosedStart date:
Priority:NormalDue date:
Assignee: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

#1 Updated by Andreas Huggel over 8 years 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.

#3 Updated by Andreas Huggel over 8 years ago

  • % Done changed from 0 to 100

#4 Updated by Andreas Huggel over 8 years ago

  • Status changed from Resolved to Closed

Also available in: Atom PDF

Redmine Appliance - Powered by TurnKey Linux