Don't use 0/1 for exit

It is not portable.