X-Git-Url: http://git.onelab.eu/?a=blobdiff_plain;f=plc.d%2Fmail;h=2b3eadefcda02cb87782d979d501ac281a2e374b;hb=391310e122de0536c08f62bd46acd3b3b7b13964;hp=fe31b25016d54eb0221c837afb28a3120f94a898;hpb=5beafd1fab624c36f81972588da3463a416a8a00;p=myplc.git diff --git a/plc.d/mail b/plc.d/mail index fe31b25..2b3eade 100755 --- a/plc.d/mail +++ b/plc.d/mail @@ -7,7 +7,7 @@ # Mark Huang # Copyright (C) 2006 The Trustees of Princeton University # -# $Id: mail,v 1.3 2006/06/23 20:29:22 mlhuang Exp $ +# $Id: mail 554 2007-06-19 15:11:22Z thierry $ # # Source function library and configuration @@ -30,7 +30,7 @@ case "$1" in # without a warning, so that the API can send out mail. echo "apache" >/etc/mail/trusted-users - service sendmail start + (exec 3>&- 4>&- ; service sendmail start) check result "$MESSAGE"