up to 0.7.1: fixes bad -cleanup exit code