mailx: Fix missing to address on command line.
authorRichard W.M. Jones <rjones@redhat.com>
Fri, 4 Oct 2013 07:29:14 +0000 (08:29 +0100)
committerRichard W.M. Jones <rjones@redhat.com>
Fri, 4 Oct 2013 07:29:14 +0000 (08:29 +0100)
goaljobs.ml

index 9688a9c..f3d27b7 100644 (file)
@@ -421,6 +421,7 @@ let mailto ?from ~subject ?(attach = []) to_ =
   List.iter (
     fun a -> cmd := !cmd ^ " -a " ^ quote a
   ) attach;
+  cmd := !cmd ^ " " ^ quote to_;
   if Sys.command !cmd <> 0 then
     goal_failed "mailto: could not send email"