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} }