summaryrefslogtreecommitdiff
path: root/test-svn-fe.c
diff options
context:
space:
mode:
Diffstat (limited to 'test-svn-fe.c')
-rw-r--r--test-svn-fe.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/test-svn-fe.c b/test-svn-fe.c
index 77cf78abcf..b42ba789b1 100644
--- a/test-svn-fe.c
+++ b/test-svn-fe.c
@@ -9,7 +9,8 @@ int main(int argc, char *argv[])
{
if (argc != 2)
usage("test-svn-fe <file>");
- svndump_init(argv[1]);
+ if (svndump_init(argv[1]))
+ return 1;
svndump_read(NULL);
svndump_deinit();
svndump_reset();