Made a failing update_mime_info() non fatal. It seems that the BeOS version of mimeset does the same. Tested with FileType-F a mimeset under R5 does not quit with an error. This fixes the build on R5 and should therefore fix bug #1280.

git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@21518 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
Michael Lotz 2007-06-27 22:59:00 +00:00
parent 8374316088
commit 7f9939f06d

View File

@ -49,7 +49,7 @@ process_file(const char *path)
status = B_ENTRY_NOT_FOUND;
if (gFiles && status >= B_OK)
status = update_mime_info(path, true, true, gForce);
update_mime_info(path, true, true, gForce);
if (gApps && status >= B_OK)
create_app_meta_mime(path, true, true, gForce);