Don't use hardcoded exit codes

Exit codes, there's tons of them on POSIX systems, and more importantly they can differ, so best just not hardcode them.