aboutsummaryrefslogtreecommitdiff
path: root/src/main.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/main.cpp')
-rw-r--r--src/main.cpp5
1 files changed, 1 insertions, 4 deletions
diff --git a/src/main.cpp b/src/main.cpp
index 01f3a69..0810f04 100644
--- a/src/main.cpp
+++ b/src/main.cpp
@@ -48,10 +48,7 @@ main(int argc, char **argv)
OptionParser::printUsage();
std::cerr << "ERROR: " << e.what() << std::endl;
exit(1);
- } catch (const BackupError &e) {
- std::cerr << "ERROR: " << e.what() << std::endl;
- exit(1);
- } catch (const RestoreError &e) {
+ } catch (const DiffddError &e) {
std::cerr << "ERROR: " << e.what() << std::endl;
exit(1);
}