Update default.inc

This commit is contained in:
voltron committed 2023-04-30 15:27:21 -05:00
1 parent ac9c02762f
commit bb5a10bd09
1 file changed
+6 -2
+6 -2
View File
@@ -157,8 +157,12 @@ SHOW_TIME() {
fi
if [ $min != 0 ] && [ $day = 0 ]; then
if [ $hour != 0 ]; then t+=", "; fi
t+="${min} mins ${sec} secs"
fi
t+="${min} mins"
fi
if [ "${1}" == "s" ]; then
if [ $hour != 0 ] || [ $min != 0 ]; then t+=", "; fi
t+="${sec} secs"
fi
echo ${t}
}