summaryrefslogtreecommitdiffstats
path: root/daemon/tar.c
diff options
context:
space:
mode:
Diffstat (limited to 'daemon/tar.c')
-rw-r--r--daemon/tar.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/daemon/tar.c b/daemon/tar.c
index 39fce8c9..74d7b056 100644
--- a/daemon/tar.c
+++ b/daemon/tar.c
@@ -127,8 +127,6 @@ do_tXz_in (const char *dir, const char *filter)
}
if (pclose (fp) != 0) {
- if (r == -1) /* if r == 0, file transfer ended already */
- r = cancel_receive ();
char *errstr = read_error_file ();
reply_with_error ("tar subcommand failed on directory: %s: %s",
dir, errstr);