Update wanForProduction.sh
Browse files- wanForProduction.sh +1 -1
wanForProduction.sh
CHANGED
|
@@ -303,7 +303,7 @@ download_mega() {
|
|
| 303 |
log_info "[MEGA] Tentativa $attempt/3"
|
| 304 |
local temp_dir
|
| 305 |
temp_dir="$(mktemp -d)"
|
| 306 |
-
if megadl --path "$temp_dir" "$url"; then
|
| 307 |
local moved=0
|
| 308 |
while IFS= read -r -d '' file; do
|
| 309 |
if [[ ! -f "$file" ]]; then
|
|
|
|
| 303 |
log_info "[MEGA] Tentativa $attempt/3"
|
| 304 |
local temp_dir
|
| 305 |
temp_dir="$(mktemp -d)"
|
| 306 |
+
if megadl --limit-speed 0 --path "$temp_dir" "$url"; then
|
| 307 |
local moved=0
|
| 308 |
while IFS= read -r -d '' file; do
|
| 309 |
if [[ ! -f "$file" ]]; then
|