diff --git a/mcom b/mcom index 91498c9..f4b65d9 100755 --- a/mcom +++ b/mcom @@ -79,7 +79,7 @@ do_mime() { msed '/attach/d' "$draft" for f in $(mhdr -M -h attach "$draft"); do printf '#%s %s\n' \ - "$(file -Lbi "$f" | sed 's/ //g')" \ + "$(file -Lb --mime "$f" | sed 's/ //g')" \ "$f" done ) | mmime >"$draftmime"