diff --git a/lego_dl.sh b/lego_dl.sh index 61d5c63..a6e78d3 100644 --- a/lego_dl.sh +++ b/lego_dl.sh @@ -9,7 +9,7 @@ downloadFolder="Instructions" # 1 Download errors reported # 2 Existing files and download errors reported -error_level=2 +error_level=1 echo "" > $logfile if [ -f "instructions" ]; then @@ -60,6 +60,8 @@ do echo "$filename was not downloaded. Check CURL" >> $logfile fi fi + #random sleep in order to not look like a script + sleep $(( ( RANDOM % 10 ) + 1 )) fi fi fi