diff options
author | Yann E. MORIN" <yann.morin.1998@anciens.enib.fr> | 2010-01-03 15:30:35 (GMT) |
---|---|---|
committer | Yann E. MORIN" <yann.morin.1998@anciens.enib.fr> | 2010-01-03 15:30:35 (GMT) |
commit | 9b5d316acc755c5902c5b6b367b6a0631486e9d7 (patch) | |
tree | 6e399c841431d647f6684b8f576a483fd9aa6800 /scripts | |
parent | a9cecdaee93189dd04ada5a27cfaab2ff041662b (diff) |
scripts/functions: make aria2 less verbose when downloading
Diffstat (limited to 'scripts')
-rw-r--r-- | scripts/functions | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/scripts/functions b/scripts/functions index fae2582..65e3f27 100644 --- a/scripts/functions +++ b/scripts/functions @@ -354,8 +354,8 @@ CT_DoGetFileAria2() { # Note: comments about curl method (above) are also valid here # Plus: default progress indicator is a single line, so use verbose log # 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" \ + CT_DoExecLog ALL aria2c --summary-interval=1 -s ${CT_DOWNLOAD_MAX_CHUNKS} -m 3 -t ${CT_CONNECT_TIMEOUT} -p "$1" \ + || CT_DoExecLog ALL aria2c --summary-interval=1 -s ${CT_DOWNLOAD_MAX_CHUNKS} -m 3 -t ${CT_CONNECT_TIMEOUT} "$1" \ || rm -f "${1##*/}" } |