"FIXME" hopefully fixed

This seems to work - as you can see, it simply uses grep to count the instances of the path in the .bashrc, and supplies that to the 'unless' which will stop the exec if the count is not 0.
Also, set the logging to output on failure.