Hacker News
new
|
past
|
comments
|
ask
|
show
|
jobs
|
submit
login
pavel_lishin
on April 16, 2014
|
parent
|
context
|
favorite
| on:
Better bash in 15 minutes
Is there a way to determine whether the exit occurred due to the bash script finishing successfully, or due to an error (via set -o errexit)?
jacquesm
on April 17, 2014
[–]
You could trap the error.
Guidelines
|
FAQ
|
Lists
|
API
|
Security
|
Legal
|
Apply to YC
|
Contact
Search: