]> git.deb.at Git - deb/packages.git/commitdiff
050checkinst: Duplicate mail to log
authorFrank Lichtenheld <frank@lichtenheld.de>
Sun, 28 Oct 2007 21:13:23 +0000 (22:13 +0100)
committerFrank Lichtenheld <frank@lichtenheld.de>
Sun, 28 Oct 2007 21:13:23 +0000 (22:13 +0100)
Record problems in the log, too, not just in the mail

cron.d/050checkinst

index 3dd1c75625d30e433a53b3b173ae88e212f30f03..559de6a914b4aa5fd2777279225206cf5d226f8c 100755 (executable)
@@ -65,6 +65,5 @@ then
            echo
            cat $cache
        fi
-    ) | /usr/sbin/sendmail -t
+    ) | tee /dev/stderr | /usr/sbin/sendmail -t
 fi
-