redirect mhonarc's stderr to our temp file too master
authorAlvaro Herrera <alvherre@alvh.no-ip.org>
Fri, 21 Sep 2012 14:10:42 +0000 (11:10 -0300)
committerAlvaro Herrera <alvherre@alvh.no-ip.org>
Fri, 21 Sep 2012 14:10:42 +0000 (11:10 -0300)
archives/bin/mk-mhonarc

index aaf16eb635167407b2674a1155454a722d29b221..8c28c6ab7a18ba5815019f602606259a18f0e413 100755 (executable)
@@ -94,7 +94,7 @@ process_one_mbox() {
              -definevar LIST=$list \
              -definevar YEAR=$year \
              -definevar MONTH=$month \
-             > $temp
+             > $temp 2>&1
       $ARCHIVES_BIN/msgid2link.pl $ydashm >> $temp 2>/dev/null
       $ARCHIVES_BIN/createmsgid.pl -i $ydashm -o $ARCHIVES_ROOT/msgid \
               >> $temp 2>/dev/null