Skip to content

Commit

Permalink
output handling
Browse files Browse the repository at this point in the history
  • Loading branch information
jiang548 committed May 4, 2022
1 parent 08a7757 commit 1bc09d9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion script/file_manage.sh
Original file line number Diff line number Diff line change
Expand Up @@ -119,7 +119,7 @@ N_record=0
while true
do

N_finished=$(cat $prefix[0-9]*.completed | wc -l | tail -1)
N_finished=$(cat $prefix[0-9]*.completed 2>/dev/null | wc -l | tail -1)

if [[ $N_finished -gt $N_record ]]; then
for i in $(seq 1 $(($N_finished * $bar_len / $N)))
Expand Down

0 comments on commit 1bc09d9

Please sign in to comment.