diff --git a/src/actions.cpp b/src/actions.cpp index bcea1b6e..c2a31ab7 100644 --- a/src/actions.cpp +++ b/src/actions.cpp @@ -753,6 +753,7 @@ namespace Action { } int Rename::run(const std::string& path) + { try { if (!Exiv2::fileExists(path, true)) { std::cerr << path @@ -824,7 +825,7 @@ namespace Action { std::cerr << "Exiv2 exception in rename action for file " << path << ":\n" << e << "\n"; return 1; - } // Rename::run + }} // Rename::run Rename::AutoPtr Rename::clone() const {