Per @brandont comment, use exit status instead.