Update default.inc

This commit is contained in:
2023-05-07 09:10:39 -05:00
parent 90e8e7529c
commit 92615c42c7

View File

@@ -159,7 +159,7 @@ SHOW_TIME() {
if [ $hour != 0 ]; then t+=", "; fi
t+="${min} mins"
fi
if [ "${2}" == "s" ]; then
if [ "${2}" == "s" ] || ([ $day = 0 ] && [ $hour = 0 ] && [ $min = 0 ]); then
if [ $hour != 0 ] || [ $min != 0 ]; then t+=", "; fi
t+="${sec} secs"
fi