typo
print exit code when terminated