about summary refs log tree commit diff
diff options
context:
space:
mode:
authorChristian Neukirchen <chneukirchen@gmail.com>2016-07-20 22:11:25 +0200
committerChristian Neukirchen <chneukirchen@gmail.com>2016-07-20 22:11:25 +0200
commitd4792704cffe6a4f1f4666e217e6d92538434f14 (patch)
tree402720bc99036d0e2d62ba06ddfb4dcd9d40cecb
parent31b4db3580bbc87f425e8024f9850a8b0c93c541 (diff)
downloadmblaze-d4792704cffe6a4f1f4666e217e6d92538434f14.tar.gz
mblaze-d4792704cffe6a4f1f4666e217e6d92538434f14.tar.xz
mblaze-d4792704cffe6a4f1f4666e217e6d92538434f14.zip
mcomp: off by one
-rwxr-xr-xmcomp2
1 files changed, 1 insertions, 1 deletions
diff --git a/mcomp b/mcomp
index cf13d7c..1188c02 100755
--- a/mcomp
+++ b/mcomp
@@ -11,7 +11,7 @@ draft="snd.$i"
 	case "$0" in
 	*mcomp*)
 		echo -n "To: $1"
-		[ "$#" -gt 1 ] && shift
+		[ "$#" -ge 1 ] && shift
 		for rcpt; do
 			echo -n ", $rcpt"
 		done