launch_daemon: Don't get the token from the registrar.

* It doesn't work, and BMessenger also only uses the preferred token.
* I haven't investigated why it doesn't work yet, though.
This commit is contained in:
Axel Dörfler
2016-01-12 15:57:18 +01:00
parent 567781bf34
commit 270f0f2f4a
+2 -2
View File
@@ -1,5 +1,5 @@
/*
* Copyright 2015, Axel Dörfler, [email protected].
* Copyright 2015-2016, Axel Dörfler, [email protected].
* Distributed under the terms of the MIT License.
*/
@@ -686,7 +686,7 @@ Job::_Launch(const char* signature, entry_ref* ref, int argCount,
{
thread_id mainThread = -1;
status_t result = BRoster::Private().Launch(signature, ref, NULL, argCount,
args, environment, &fTeam, &mainThread, &fDefaultPort, &fToken, true);
args, environment, &fTeam, &mainThread, &fDefaultPort, NULL, true);
if (result == B_OK) {
result = _CreateAndTransferPorts();