mirror of
https://github.com/kdave/btrfs-progs
synced 2024-12-27 00:22:22 +00:00
btrfs-progs: don't close(-1)
When opening the fd fails just return instead of taking the shared error path that tries to close() the fd. Signed-off-by: Zach Brown <zab@redhat.com>
This commit is contained in:
parent
da3a185f44
commit
ac59571f59
Loading…
Reference in New Issue
Block a user