From 82c410dc127775da0e1642751a5174e952b29e32 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Axel=20D=C3=B6rfler?= Date: Fri, 2 Jun 2006 20:25:37 +0000 Subject: [PATCH] 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 --- src/kits/app/Roster.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/kits/app/Roster.cpp b/src/kits/app/Roster.cpp index db3a07a9cc..0d02760197 100644 --- a/src/kits/app/Roster.cpp +++ b/src/kits/app/Roster.cpp @@ -1854,9 +1854,9 @@ BRoster::_LaunchApp(const char *mimeType, const entry_ref *ref, error = get_thread_info(appThread, &threadInfo); if (error == B_OK) team = threadInfo.team; - } else if (wasDocument) { + } else if (wasDocument && appThread == B_NOT_AN_EXECUTABLE) error = B_LAUNCH_FAILED_EXECUTABLE; - } else + else error = appThread; DBG(OUT(" load image: %s (%lx)\n", strerror(error), error));