Fixed error with exit status handling