Print failed message when task not really completed
Line ending change