fix a bug in the last commit; always exited with nonzero exit code