From 1b2a71f368d1b7e14ececc02d52bc20854513bec Mon Sep 17 00:00:00 2001 From: David Schroeder Date: Thu, 7 Feb 2019 22:42:27 -0600 Subject: [PATCH] Update test.sh --- test.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test.sh b/test.sh index 553f284..99121fd 100755 --- a/test.sh +++ b/test.sh @@ -30,7 +30,7 @@ function show_time () { if [ $day != 0 ]; then t+="${day}days, "; fi if [ $hour != 0 ]; then t+="${hour}hours, "; fi if [ $min != 0 ]; then t+="${min}mins, "; fi - if [ $sec != 0 ]; then t+="${sec}secs, "; fi + if [ $sec != 0 ]; then t+="and ${sec}secs, "; fi echo ${t::-2} }