Skip to content

Commit

Permalink
Show the speed only while copying
Browse files Browse the repository at this point in the history
  • Loading branch information
matteocorti committed Oct 2, 2023
1 parent 8aea128 commit 6d8231d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tmstatus.sh
Original file line number Diff line number Diff line change
Expand Up @@ -467,7 +467,7 @@ else

fi

if [ -n "${SHOW_SPEED}" ]; then
if echo "${status}" | grep -qi copying && [ -n "${SHOW_SPEED}" ]; then

SPEED=$(
echo "${LOG_ENTRIES}" |
Expand Down

0 comments on commit 6d8231d

Please sign in to comment.