Add $? environmental variable to pass exit status.