git://git.onelab.eu
/
myplc.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
* tentative merge of onelab myplc
[myplc.git]
/
plc.d
/
mail
diff --git
a/plc.d/mail
b/plc.d/mail
index
fe31b25
..
2b3eade
100755
(executable)
--- a/
plc.d/mail
+++ b/
plc.d/mail
@@
-7,7
+7,7
@@
# Mark Huang <mlhuang@cs.princeton.edu>
# Copyright (C) 2006 The Trustees of Princeton University
#
# Mark Huang <mlhuang@cs.princeton.edu>
# 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
#
# 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
# 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"
check
result "$MESSAGE"