summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--qacp.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/qacp.c b/qacp.c
index 4e9c95d..3afc35e 100644
--- a/qacp.c
+++ b/qacp.c
@@ -598,6 +598,7 @@ sendfiles(char **argv, int argc, int fileidx, short recursive)
free_rstat(rstatp);
}
+ close(qacp_fd);
return 0;
}
@@ -644,8 +645,6 @@ main(int argc, char *argv[])
}
}
- close(qacp_fd);
-
if (eflag) {
exit(1);
}