diff --git a/test.sh b/test.sh index 987d63e..553f284 100755 --- a/test.sh +++ b/test.sh @@ -32,7 +32,7 @@ function show_time () { if [ $min != 0 ]; then t+="${min}mins, "; fi if [ $sec != 0 ]; then t+="${sec}secs, "; fi - echo ${v::-2} + echo ${t::-2} } show_time ${1} \ No newline at end of file