mcom: allow spaces in sequence for mbnc and mrep

pull/231/head
codesoap 2 years ago
parent 9d66764434
commit 21a8308eac

@ -321,7 +321,10 @@ fi
) fi
;;
*mbnc*)
old_ifs="$IFS"
IFS=$NL
set -- $(mseq -- "$@")
IFS="$old_ifs"
if [ "$#" -ne 1 ]; then
printf 'mbnc: needs exactly one mail to bounce\n' 1>&2
exit 1
@ -344,7 +347,10 @@ fi
)
;;
*mrep*)
old_ifs="$IFS"
IFS=$NL
set -- $(mseq -- "$@")
IFS="$old_ifs"
if [ "$#" -ne 1 ]; then
printf 'mrep: needs exactly one mail to reply to\n' 1>&2
exit 1

Loading…
Cancel
Save