# Exit code is not being respected

**URL:** <https://forum.buildkite.community/t/exit-code-is-not-being-respected/1142>\
**Category:** General\
**Created:** [July 8, 2020, 9:47pm UTC](https://forum.buildkite.community/t/exit-code-is-not-being-respected/1142 "2020-07-08T21:47:25Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![Adinata](https://avatars.discourse-cdn.com/v4/letter/a/9de053/32.png) [@Adinata](https://forum.buildkite.community/u/Adinata)\
**Post date:** [July 8, 2020, 9:47pm UTC](https://forum.buildkite.community/t/exit-code-is-not-being-respected/1142/1 "2020-07-08T21:47:25Z")

</div>

I used bash script and use this command:

`exit 60`

But the job telling me that I have exit 1 instead of exit 60. I use docker plugging

```auto
plugins:
  - docker#v3.3.0:

```

Is it possible that exit code for command running in the docker plugin isn’t respected and always return 1?

 ![image](https://us1.discourse-cdn.com/flex016/uploads/buildkite1/original/1X/1568b3deeef0caac5f037d851c511bf0b148dea2.png)
