Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

If you don't need to specify a custom message, you could also use "set -e" to die automatically on command failure and use "trap ... EXIT" to display some kind of failure message.


Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: