Skip to content

Commit 591416c

Browse files
committed
fix track-progress
1 parent 91b21fe commit 591416c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

share/github-backup-utils/track-progress

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ progress(){
77

88
PROGRESS=$(cat /tmp/backup-utils-progress)
99
PROGRESS_TYPE=$(cat /tmp/backup-utils-progress-type)
10-
PROGRESS_PERCENT=$( echo "scale = 2; ($PROGRESS / $PROGRESS_TOTAL) * 100" | bc)
10+
PROGRESS_PERCENT=$( echo "scale = 2; ($PROGRESS / $PROGRESS_TOTAL) * 100")
1111
echo $((PROGRESS +1)) > /tmp/backup-utils-progress
1212
echo "${PROGRESS_TYPE} progress: $PROGRESS_PERCENT % ($PROGRESS / $PROGRESS_TOTAL ) $1 " > /tmp/backup-utils-progress-info
1313
}

0 commit comments

Comments
 (0)