Merge branch 'tb/pack-revindex-on-disk'
Fix for a topic in 'master'. * tb/pack-revindex-on-disk: pack-revindex.c: don't close unopened file descriptors
This commit is contained in:
commit
074d162eff
@ -253,7 +253,8 @@ cleanup:
|
||||
*data_p = (const uint32_t *)data;
|
||||
}
|
||||
|
||||
close(fd);
|
||||
if (fd >= 0)
|
||||
close(fd);
|
||||
return ret;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user