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 7e47819..5466896 100755
--- a/mcom
+++ b/mcom
@@ -93,7 +93,7 @@ if [ -z "$outbox" ]; then
 	elif [ -z "$draft" ]; then
 		draft=$(ls -1t ./snd.*[0-9] | sed 1q)
 	fi
-	draftmime="./snd.$i.mime"
+	draftmime="$draft.mime"
 else
 	if [ -z "$resume" ]; then
 		draft="$(true | mdeliver -v -c -XD "$outbox")"