t9129-git-svn-i18n-commitencoding.sh: use the $( ... ) construct for command substitution
[gitweb.git] / fsck.c
diff --git a/fsck.c b/fsck.c
index e6b8c565257dbfef414c412934b3f6388276ee00..c637f6676b639beb90240e4667ed07ceb83cdbf8 100644 (file)
--- a/fsck.c
+++ b/fsck.c
@@ -711,7 +711,8 @@ static int fsck_tag_buffer(struct tag *tag, const char *data,
                }
        }
 
-       if (verify_headers(buffer, size, &tag->object, options))
+       ret = verify_headers(buffer, size, &tag->object, options);
+       if (ret)
                goto done;
 
        if (!skip_prefix(buffer, "object ", &buffer)) {