It could help a lot to not only say the return code is invalid, but also display its value, and stdout and stderr.