Add check on return status of shelled command.