Correct ONEXIT behavior.