Update default.inc

This commit is contained in:
2019-07-25 23:12:24 -05:00
parent 5982909a2b
commit dfa77ee4ad

View File

@@ -136,9 +136,15 @@ SHOW_TIME() {
fi
fi
t+="${day} days";
if [ $hour != 0 ]; then t+=", "; fi
fi
if [ $hour != 0 ]; then t+=", ${hour} hours"; fi
if [ $min != 0 ] && [ $day = 0 ]; then t+=", ${min} mins"; fi
if [ $hour != 0 ]; then
t+="${hour} hours"
fi
if [ $min != 0 ] && [ $day = 0 ]; then
if [ $hour != 0 ]; then t+=", "; fi
t+="${min} mins"
fi
echo ${t}
}