call exit code after print error

OS shell return code