Merge branch 'jk/maint-remote-mirror-safer'
[gitweb.git] / contrib / svn-fe / svn-fe.c
index e9b9ba4da41c2de0a8ed8e1c540d2c108d0616f0..35db24f5eae600a973391915ceb61c4635941aec 100644 (file)
@@ -8,8 +8,10 @@
 
 int main(int argc, char **argv)
 {
-       svndump_init(NULL);
+       if (svndump_init(NULL))
+               return 1;
        svndump_read((argc > 1) ? argv[1] : NULL);
+       svndump_deinit();
        svndump_reset();
        return 0;
 }