about summary refs log tree commit diff
path: root/mcom
diff options
context:
space:
mode:
Diffstat (limited to 'mcom')
-rwxr-xr-xmcom2
1 files changed, 1 insertions, 1 deletions
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"