Update test.sh
This commit is contained in:
2
test.sh
2
test.sh
@@ -32,7 +32,7 @@ function show_time () {
|
|||||||
if [ $min != 0 ]; then t+="${min}mins, "; fi
|
if [ $min != 0 ]; then t+="${min}mins, "; fi
|
||||||
if [ $sec != 0 ]; then t+="${sec}secs, "; fi
|
if [ $sec != 0 ]; then t+="${sec}secs, "; fi
|
||||||
|
|
||||||
echo ${v::-2}
|
echo ${t::-2}
|
||||||
}
|
}
|
||||||
|
|
||||||
show_time ${1}
|
show_time ${1}
|
||||||
Reference in New Issue
Block a user