[Bug 372061] default .profile script exits with exit code of 1