# Knowing whether knife bootstrap exited with error

**URL:** <https://discourse.chef.io/t/knowing-whether-knife-bootstrap-exited-with-error/2912>\
**Category:** Chef Infra (archive)\
**Created:** [June 10, 2012, 5:26am UTC](https://discourse.chef.io/t/knowing-whether-knife-bootstrap-exited-with-error/2912 "2012-06-10T05:26:57Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![Haim\_Ashkenazi](https://avatars.discourse-cdn.com/v4/letter/h/ed655f/32.png) [@Haim\_Ashkenazi](https://discourse.chef.io/u/Haim_Ashkenazi)\
**Post date:** [June 10, 2012, 5:26am UTC](https://discourse.chef.io/t/knowing-whether-knife-bootstrap-exited-with-error/2912/1 "2012-06-10T05:26:57Z")

</div>

Hi

I got a request (from an old thread here) to post the code I used to modify  
the bootstrap process so I can tell whether it exited with error. I posted  
a gist here if anybody is interested:

> <https://gist.github.com/babysnakes/2903891>

This is extracted from a large code base so if something doesn’t work,  
please let me know. I may forgot to add something.

## Bye

Haim
