From d1ea38e38cba2fa594146db01c6c8629b0871674 Mon Sep 17 00:00:00 2001 From: Avi Date: Wed, 15 Nov 2017 11:57:56 -0600 Subject: [PATCH] Fix extra spaces Fix for extra spaces in log message when update takes under a minute. --- update_ombi.sh | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/update_ombi.sh b/update_ombi.sh index 9fd9eff..6b322bb 100644 --- a/update_ombi.sh +++ b/update_ombi.sh @@ -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..." \ No newline at end of file +durationmsg="Update complete...elapsed time $duration..." +durationmsg="${durationmsg// / }" +.log 6 "$durationmsg" \ No newline at end of file