Mark failed state correctly

This commit is contained in:
Calen Pennington
2012-12-07 10:37:44 -05:00
parent 3f5187401d
commit d4ec5946d4

View File

@@ -9,5 +9,5 @@ function github_status {
}
function github_mark_failed_on_exit {
trap '[ $? == "0" ] || github_status state:failed "failed"' EXIT
trap '[ $? == "0" ] || github_status state:failure "failed"' EXIT
}