# Custom build ignore script exit code bug

**URL:** <https://answers.netlify.com/t/custom-build-ignore-script-exit-code-bug/5627>\
**Category:** Support\
**Tags:** monorepo, deployment\
**Created:** [November 28, 2019, 12:04pm UTC](https://answers.netlify.com/t/custom-build-ignore-script-exit-code-bug/5627 "2019-11-28T12:04:15Z")\
**Posts on this page:** 2\
**Page:** 2

<div class="post-metadata">

**Author:** ![fool](https://sea1.discourse-cdn.com/netlify/user_avatar/answers.netlify.com/fool/32/37_2.png) [@fool](https://answers.netlify.com/u/fool)\
**Post date:** [April 25, 2020, 5:25am UTC](https://answers.netlify.com/t/custom-build-ignore-script-exit-code-bug/5627/25 "2020-04-25T05:25:48Z")

</div>

How about using “sh ./exit-zero.sh” ? Should work around the permissions problem.

We are going to release functionality next week to allow pausing builds for a site, so you may not need this script after that 🙂

---

<div class="post-metadata">

**Author:** ![fool](https://sea1.discourse-cdn.com/netlify/user_avatar/answers.netlify.com/fool/32/37_2.png) [@fool](https://answers.netlify.com/u/fool)\
**Post date:** [September 30, 2020, 9:10pm UTC](https://answers.netlify.com/t/custom-build-ignore-script-exit-code-bug/5627/26 "2020-09-30T21:10:31Z")

</div>

Hey folks, just wanted to stop by to mention a couple of changes relevant to this thread:

1. we do have the “stop builds” feature now: [Builds: Stop builds feature available](https://answers.netlify.com/t/builds-stop-builds-feature-available/13424)
2. and that you no longer need to create a shell script for more complex ignore commands - things like “command1; command2 && command3” should now work.

[Previous page](https://answers.netlify.com/t/custom-build-ignore-script-exit-code-bug/5627.md?page=1)
