Closed hlwanghl closed 4 years ago
Sometimes, the previous execute function behaves unexpectedly:
execute
revive() { execute checkSvc $svc || execute restart $svc }
This may caused by multiple chained execute like:
funcA() { execute funcB || execute funcC }
execute funcA
So we removed execute and use stupid declared functions to reduce complexity.
Sometimes, the previous
execute
function behaves unexpectedly:revive() { execute checkSvc $svc || execute restart $svc }
This may caused by multiple chained
execute
like:funcA() { execute funcB || execute funcC }
execute funcA
So we removed
execute
and use stupid declared functions to reduce complexity.