Added be_roster check in InitData().

git-svn-id: file:///srv/svn/repos/haiku/trunk/current@622 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
Ingo Weinhold 2002-08-06 22:18:23 +00:00
parent f801a32755
commit 9231d6b096

View File

@ -635,6 +635,11 @@ void BApplication::InitData(const char* signature, status_t* error)
}
}
}
// check whether be_roster is valid
if (fInitError == B_OK && !isRegistrar && !_is_valid_roster_mess_(false)) {
printf("FATAL: be_roster is not invalid. Is the registrar running?\n");
fInitError = B_NO_INIT;
}
// check whether or not we are pre-registered
bool preRegistered = false;
app_info appInfo;