From 7f9939f06dcdefc690c34d9d20442257bb08bd19 Mon Sep 17 00:00:00 2001 From: Michael Lotz Date: Wed, 27 Jun 2007 22:59:00 +0000 Subject: [PATCH] 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 --- src/bin/mimeset.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/bin/mimeset.cpp b/src/bin/mimeset.cpp index 5b548d48ad..06beacdbf8 100644 --- a/src/bin/mimeset.cpp +++ b/src/bin/mimeset.cpp @@ -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);