Presumably make returns a non-zero value on failure and in Bash, the return value is stored in the variable $?, so you can test that.
Also, please use descriptive thread titles, as you're told to when you post a thread. This isn't urgent for anyone here, either, as LQ is a volunteer site.
Last edited by Nylex; 05-26-2011 at 02:06 AM.
|