summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--ftpfs/ccache.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/ftpfs/ccache.c b/ftpfs/ccache.c
index c18f7577..88299027 100644
--- a/ftpfs/ccache.c
+++ b/ftpfs/ccache.c
@@ -168,6 +168,9 @@ ccache_read (struct ccache *cc, off_t offs, size_t len, void *data)
cc->data_conn_pos += rd;
}
}
+
+ if (!err && hurd_check_cancel ())
+ err = EINTR;
}
mutex_lock (&cc->lock);