Industrial organisation

A competitive firm is earning a loss in the short run. Which condition determines whether it should continue producing rather than temporarily shut down?