aboutsummaryrefslogtreecommitdiff
path: root/contrib/svn-fe/svn-fe.c
diff options
context:
space:
mode:
Diffstat (limited to 'contrib/svn-fe/svn-fe.c')
-rw-r--r--contrib/svn-fe/svn-fe.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/contrib/svn-fe/svn-fe.c b/contrib/svn-fe/svn-fe.c
index a2677b03e..35db24f5e 100644
--- a/contrib/svn-fe/svn-fe.c
+++ b/contrib/svn-fe/svn-fe.c
@@ -8,7 +8,8 @@
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();