correct exit code for detoul