diff --git a/src/actions.cpp b/src/actions.cpp index f8699e5c..dac43345 100644 --- a/src/actions.cpp +++ b/src/actions.cpp @@ -1876,6 +1876,7 @@ namespace { catch (const Exiv2::AnyError& e) { std::cerr << target << ": " << _("Could not write metadata to file") << ": " << e << "\n"; + return 1; } return 0;