title: Expected process to exit with [0], but received ''
body: <p>I have a <code>chef</code> <code>execute</code> <code>resource</code> in my <code>recipe</code>. When my <code>chef-client</code> runs this resource I get the error :</p>
  
  <pre><code> Expected process to exit with [0], but received ''
  </code></pre>
  
  <p>The resource : </p>
  
  <pre><code>  execute "startHAPROXY" do
      command "cd /home/#{node["haproxyUser"]}/haproxy &amp;&amp; ./start.sh"
      action :nothing
    end
  </code></pre>
  
  <p>start.sh : </p>
  
  <pre><code>#!/bin/sh
  kill -9 `ps -ef | grep haproxy | grep -v grep | awk '{print $2}'`
  cd /home/lb/haproxy
  /home/lb/haproxy/haproxy -f /home/lb/haproxy/haproxy.cfg
  exit $?
  </code></pre>
  
  <p>when I run it manually (<code>./start.sh; echo $?</code>) it echos <code>0</code> but still when <code>chef-client</code> runs it, it fails.</p>