summaryrefslogtreecommitdiff
path: root/cmds-subvolume.c
diff options
context:
space:
mode:
Diffstat (limited to 'cmds-subvolume.c')
-rw-r--r--cmds-subvolume.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/cmds-subvolume.c b/cmds-subvolume.c
index 63c5990f..2fce7aff 100644
--- a/cmds-subvolume.c
+++ b/cmds-subvolume.c
@@ -244,7 +244,6 @@ again:
fd = open_file_or_dir(dname);
if (fd < 0) {
- close(fd);
fprintf(stderr, "ERROR: can't access to '%s'\n", dname);
ret = 12;
goto out;