From bf1b9d2d8a7bca4a41b0c2d6529f198ec92b84ae Mon Sep 17 00:00:00 2001 From: Brad Rydzewski Date: Fri, 21 Aug 2015 00:06:10 -0700 Subject: [PATCH] use exit status 130 when canceling a build --- cmd/drone-build/main.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cmd/drone-build/main.go b/cmd/drone-build/main.go index d25ebc864..6e8822d19 100644 --- a/cmd/drone-build/main.go +++ b/cmd/drone-build/main.go @@ -65,7 +65,7 @@ func main() { <-killc log.Println("Received reques to kill this build") client.Destroy() // possibe race here. implement lock on the other end - os.Exit(1) + os.Exit(130) // cancel is treated like ctrl+c }() // performs some initial parsing and pre-processing steps