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:
parent
8374316088
commit
7f9939f06d
@ -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);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user