<html>
    <head>
      <base href="https://bugs.freedesktop.org/" />
    </head>
    <body>
      <p>
        <div>
            <b><a class="bz_bug_link 
          bz_status_REOPENED "
   title="REOPENED - xdg-open does not exit if it does not recognize the mimetype"
   href="https://bugs.freedesktop.org/show_bug.cgi?id=89902#c12">Comment # 12</a>
              on <a class="bz_bug_link 
          bz_status_REOPENED "
   title="REOPENED - xdg-open does not exit if it does not recognize the mimetype"
   href="https://bugs.freedesktop.org/show_bug.cgi?id=89902">bug 89902</a>
              from <span class="vcard"><a class="email" href="mailto:rkfg@rkfg.me" title="rkfg <rkfg@rkfg.me>"> <span class="fn">rkfg</span></a>
</span></b>
        <pre>(In reply to Rex Dieter from <a href="show_bug.cgi?id=89902#c7">comment #7</a>)
<span class="quote">> Went ahead and committed the immediate fix,
> <a href="http://cgit.freedesktop.org/xdg/xdg-utils/commit/">http://cgit.freedesktop.org/xdg/xdg-utils/commit/</a>
> ?id=3e9a91b44d8d4639000fbe2b49ee303cd3f836e0

> I'd still be interested in output per <a href="show_bug.cgi?id=89902#c5">comment #5</a> if you don't mind (to help
> find out why xdg-open would not exit properly).</span >

Typo:

--- a/scripts/xdg-open.in
+++ b/scripts/xdg-open.in
@@ -276,7 +276,7 @@ open_generic()
         file_check=${file_check%%\?*}
         check_input_file "$file_check"

-        filetype=`xdg-mime query filetype "$filecheck" | sed "s/;.*//"`
+        filetype=`xdg-mime query filetype "$file_check" | sed "s/;.*//"`
         open_generic_xdg_mime "$file" "$filetype"

         if which run-mailcap 2>/dev/null 1>&2; then</pre>
        </div>
      </p>
      <hr>
      <span>You are receiving this mail because:</span>
      
      <ul>
          <li>You are the assignee for the bug.</li>
      </ul>
    </body>
</html>