about summary refs log tree commit diff
diff options
context:
space:
mode:
authorcodesoap <codesoap@mailbox.org>2019-02-05 21:40:21 +0100
committerLeah Neukirchen <chneukirchen@gmail.com>2019-02-06 21:11:29 +0100
commitd164496e09d29b4a840dd959a6f7dfbe5bbfb83a (patch)
tree5afc5585ec9309476c72d8c0442c676774498892
parent1aa4977f711fe1590799c9e13c16259b43605c42 (diff)
downloadmblaze-d164496e09d29b4a840dd959a6f7dfbe5bbfb83a.tar.gz
mblaze-d164496e09d29b4a840dd959a6f7dfbe5bbfb83a.tar.xz
mblaze-d164496e09d29b4a840dd959a6f7dfbe5bbfb83a.zip
mcom: Quote two more variables
Before quoting these two variables I experienced problems when
trying to use the "encrypt" option while using mcom.
-rwxr-xr-xmcom2
1 files changed, 1 insertions, 1 deletions
diff --git a/mcom b/mcom
index c42a19f..f824302 100755
--- a/mcom
+++ b/mcom
@@ -402,7 +402,7 @@ while :; do
 		esac
 
 		if [ -e "$draftmime" ]; then
-			if [ $draft -ot $draftmime ] || [ "$automime" = 1 ]; then
+			if [ "$draft" -ot "$draftmime" ] || [ "$automime" = 1 ]; then
 				stampdate "$draftmime"
 				if $sendmail <"$draftmime"; then
 					if [ "$outbox" ]; then