Tracker no longer wants to remove the executable bits from the kernel or the

runtime_loader when trying to start them.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@17708 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
Axel Dörfler 2006-06-02 20:25:37 +00:00
parent a5238e8fcf
commit 82c410dc12
1 changed files with 2 additions and 2 deletions

View File

@ -1854,9 +1854,9 @@ BRoster::_LaunchApp(const char *mimeType, const entry_ref *ref,
error = get_thread_info(appThread, &threadInfo); error = get_thread_info(appThread, &threadInfo);
if (error == B_OK) if (error == B_OK)
team = threadInfo.team; team = threadInfo.team;
} else if (wasDocument) { } else if (wasDocument && appThread == B_NOT_AN_EXECUTABLE)
error = B_LAUNCH_FAILED_EXECUTABLE; error = B_LAUNCH_FAILED_EXECUTABLE;
} else else
error = appThread; error = appThread;
DBG(OUT(" load image: %s (%lx)\n", strerror(error), error)); DBG(OUT(" load image: %s (%lx)\n", strerror(error), error));