exit with code 0 if run returns nil