Skip to content

Commit 7fe41c6

Browse files
Add explanatory comment for conditional error check
1 parent 2fe10d7 commit 7fe41c6

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

toolkit/xre/nsAppRunner.cpp

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4251,6 +4251,8 @@ int XREMain::XRE_mainInit(bool* aExitFlag) {
42514251
#if defined(MOZ_ENTERPRISE)
42524252
rv = XRE_ParseEnterpriseServerURL(*mAppData);
42534253
# if defined(MOZILLA_OFFICIAL)
4254+
// Enterprise deployments must have a distribution.ini, but we need to
4255+
// tolerate local builds
42544256
if (NS_FAILED(rv)) {
42554257
Output(true, "Couldn't read console url from distribution.ini");
42564258
return 1;

0 commit comments

Comments
 (0)