summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--scripts/functions2
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/functions b/scripts/functions
index caaa8ab..fae2582 100644
--- a/scripts/functions
+++ b/scripts/functions
@@ -356,7 +356,7 @@ CT_DoGetFileAria2() {
# so that the CT-NG's ouput is 'live'.
CT_DoExecLog ALL aria2c -l - -s ${CT_DOWNLOAD_MAX_CHUNKS} -m 3 -t ${CT_CONNECT_TIMEOUT} -p "$1" \
|| CT_DoExecLog ALL aria2c -l - -s ${CT_DOWNLOAD_MAX_CHUNKS} -m 3 -t ${CT_CONNECT_TIMEOUT} "$1" \
- || true
+ || rm -f "${1##*/}"
}
# OK, just look if we have them...