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
fi fi
t+="${day} days"; t+="${day} days";
if [ $hour != 0 ]; then t+=", "; fi
fi fi
if [ $hour != 0 ]; then t+=", ${hour} hours"; fi if [ $hour != 0 ]; then
if [ $min != 0 ] && [ $day = 0 ]; then t+=", ${min} mins"; fi t+="${hour} hours"
fi
if [ $min != 0 ] && [ $day = 0 ]; then
if [ $hour != 0 ]; then t+=", "; fi
t+="${min} mins"
fi
echo ${t} echo ${t}
} }