Skip to content

Commit

Permalink
Fix extra spaces (Unimatrix0#10)
Browse files Browse the repository at this point in the history
Fix for extra spaces in log message when update takes under a minute.
  • Loading branch information
Unimatrix0 authored Nov 15, 2017
1 parent bbe3cf8 commit bcba7ee
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions update_ombi.sh
Original file line number Diff line number Diff line change
Expand Up @@ -306,5 +306,6 @@ if [ $seconds -ge 2 ]; then
elif [ $seconds -eq 1 ]; then
duration+=" $seconds second"
fi
duration="${duration// / }"
.log 6 "Update complete...elapsed time $duration..."
durationmsg="Update complete...elapsed time $duration..."
durationmsg="${durationmsg// / }"
.log 6 "$durationmsg"

0 comments on commit bcba7ee

Please sign in to comment.