about summary refs log tree commit diff
path: root/mcom
diff options
context:
space:
mode:
authorLeah Neukirchen <leah@vuxu.org>2018-02-26 15:51:22 +0100
committerLeah Neukirchen <leah@vuxu.org>2018-02-26 15:51:22 +0100
commitc12fd15d3f6150b453a32732764e229a7eb006c7 (patch)
tree23b585398365da5a059303b5d6a99fbf59d4a490 /mcom
parent80dafa188781e007023df625c56c312cd3d722ef (diff)
downloadmblaze-c12fd15d3f6150b453a32732764e229a7eb006c7.tar.gz
mblaze-c12fd15d3f6150b453a32732764e229a7eb006c7.tar.xz
mblaze-c12fd15d3f6150b453a32732764e229a7eb006c7.zip
mcom: fix $draftmime for when not using outbox
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")"