added an error message when no replicant can be found

git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@23240 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
Jérôme Duval 2008-01-04 13:40:06 +00:00
parent 37d8f330f4
commit 4cbcdf6e54

View File

@ -520,10 +520,14 @@ AddOnManager::LoadReplicant()
if (replicant.FindMessenger("result", &result) == B_OK) {
gInputServer->SetMethodReplicant(new BMessenger(result));
}
}
}
}
}
}
if (!gInputServer->MethodReplicant()) {
fprintf(stderr, "LoadReplicant(): Method replicant not found!\n");
}
}