done is correctly displayed in download()
This commit is contained in:
parent
aa939b2be0
commit
9ef4d922f5
1 changed files with 1 additions and 1 deletions
2
init.sh
2
init.sh
|
@ -121,7 +121,7 @@ download (){
|
|||
wget -c --progress=dot $2/$1 2>&1 | grep --line-buffered "[0-9]\{1,3\}%" -o | awk '{printf ("\b\b\b\b%4s", $1)}'
|
||||
if [ $? -eq 0 ]
|
||||
then
|
||||
printf " \b\b\b\bdone\n "
|
||||
printf " \b\b\b\b\b done\n "
|
||||
else
|
||||
printf " error, exiting.\n"
|
||||
exit 1
|
||||
|
|
Reference in a new issue