title: nonzero return code although find -exec rm works
body: <p>I'm on a linux system I wonder what is wrong with the following execution of find:</p>
  
  <pre><code>mkdir a &amp;&amp; touch a/b                      
  find . -name a -type d -exec echo '{}' \; 
  ./a
  find . -name a -type d -exec rm -r '{}' \;
  find: `./a': No such file or directory
  </code></pre>
  
  <p>The invocation of echo is just for testing purposes.  I would expect the last command to remove the directory './a' entirely and return 0.  Instead it removes the directory and generates the error message. To repeat, it does remove the directory! What is going on?</p>