Permalink
Browse files

Fix script to use `exit` as opposed to `return`

  • Loading branch information...
1 parent 4f7aa1c commit 08817f9f2a19143ceb50f15960e22e71b8dcd6b6 Prathan Thananart committed Sep 21, 2011
Showing with 1 addition and 1 deletion.
  1. +1 −1 hipkins
View
@@ -27,4 +27,4 @@ else
curl -d "notify=1&color=red&room_id=$2&from=Jenkins&message=Ahoy! $JOB_NAME $BUILD is failing spectacularly, shame on you!" $API
fi
-return $1
+exit $1

0 comments on commit 08817f9

Please sign in to comment.