1
0
Este cometimento está contido em:
Marek Marczykowski 2011-04-19 13:07:13 +02:00
ascendente b842155516
cometimento 1071e3a53c

Ver ficheiro

@ -49,7 +49,7 @@ while true ; do
read agentpid sentsize agentstatus < $PROGRESS_FILE read agentpid sentsize agentstatus < $PROGRESS_FILE
if [ "x"$agentstatus = x ] ; then continue ; fi if [ "x"$agentstatus = x ] ; then continue ; fi
if ! [ -e /proc/$agentpid ] ; then break ; fi if ! [ -e /proc/$agentpid ] ; then break ; fi
if [ "x"$agentstatus = xdone ] ; then break ; fi if [ "x"$agentstatus = xDONE ] ; then break ; fi
CURRSIZE=$(($sentsize/1024)) CURRSIZE=$(($sentsize/1024))
if [ $DO_PROGRESS = 1 ] ; then if [ $DO_PROGRESS = 1 ] ; then
echo -ne "\r sent $CURRSIZE/$SIZE KB " echo -ne "\r sent $CURRSIZE/$SIZE KB "