summaryrefslogtreecommitdiff
path: root/scripts/functions
diff options
context:
space:
mode:
authorYann E. MORIN" <yann.morin.1998@anciens.enib.fr>2010-01-01 18:04:16 (GMT)
committerYann E. MORIN" <yann.morin.1998@anciens.enib.fr>2010-01-01 18:04:16 (GMT)
commitcfffd94a50d2fa844e4cfea1fd9aef9136948658 (patch)
treeb6cf7191c58d37b85ee79d8530a181704ac4a7e4 /scripts/functions
parentfababb1ec5e62fe3385539422d249ad76313086c (diff)
parent5ae9b7faf9d8ee65a965b3cd40e2fad63f7884ab (diff)
Merge.
Diffstat (limited to 'scripts/functions')
-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...