return 1 instead of exit1