From b9eba0996aa7a8f79e302329be76aeaf9cf7294a Mon Sep 17 00:00:00 2001 From: "Yann E. MORIN\"" Date: Fri, 1 Jan 2010 12:27:06 +0100 Subject: scripts/functions: fix using Aria2 Latest aria2 no longer recognise the --retry-wait option. diff --git a/scripts/functions b/scripts/functions index fbf86f3..caaa8ab 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 --retry-wait 5 -t ${CT_CONNECT_TIMEOUT} -p "$1" \ - || CT_DoExecLog ALL aria2c -l - -s ${CT_DOWNLOAD_MAX_CHUNKS} -m 3 --retry-wait 5 -t ${CT_CONNECT_TIMEOUT} "$1" \ + 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 } -- cgit v0.10.2-6-g49f6