fixed wrong notifyCMD exit code handler