The airline made a loss, but the overall results were still better than anticipated.