For who? Was that the best option for the employees who relied on the income? Or the customers who enjoyed the food? There are plenty of actions that are rational from an economics standpoint as long as you don't care about any of the externalities such as human dignity.