sh.zio.notify: handle extreme edge-case
parent
d455e58b1a
commit
c7d32b84a8
|
@ -322,7 +322,11 @@ function print_time() {
|
||||||
[[ $m != "0" ]] && output+=" $m $m_string"
|
[[ $m != "0" ]] && output+=" $m $m_string"
|
||||||
[[ $s != "0" ]] && output+=" $s $s_string"
|
[[ $s != "0" ]] && output+=" $s $s_string"
|
||||||
|
|
||||||
|
if [[ "$output" == "" ]]; then
|
||||||
|
echo "0 seconds"
|
||||||
|
else
|
||||||
echo $output
|
echo $output
|
||||||
|
fi
|
||||||
}
|
}
|
||||||
|
|
||||||
function start_service() {
|
function start_service() {
|
||||||
|
|
Loading…
Reference in New Issue