HCoop
/
hcoop
/
scripts.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(from parent 1:
81f09f2
)
BCC: admins@hcoop.net instead of just admins in quotacheck
author
clinton_admin
<clinton_admin@deleuze.hcoop.net>
Sat, 26 Feb 2011 06:15:26 +0000
(
01:15
-0500)
committer
clinton_admin
<clinton_admin@deleuze.hcoop.net>
Sat, 26 Feb 2011 06:15:26 +0000
(
01:15
-0500)
quotacheck
patch
|
blob
|
blame
|
history
diff --git
a/quotacheck
b/quotacheck
index
cd9f82a
..
2d638d1
100755
(executable)
--- a/
quotacheck
+++ b/
quotacheck
@@
-237,7
+237,7
@@
sub email_notify {
$_ =~ s/\$CRIT{(\w+)}/$warn{$user}{$1} ? " (APPROACHING QUOTA)" : ""/mge;
}
#print join('', @msg);
- open(MAIL, "| mail -s 'Approaching quota limit at HCoop' -a 'From: admins\@hcoop.net' -b 'admins' '$user\@hcoop.net'");
+ open(MAIL, "| mail -s 'Approaching quota limit at HCoop' -a 'From: admins\@hcoop.net' -b 'admins
@hcoop.net
' '$user\@hcoop.net'");
{ no warnings; print main::MAIL join('', @msg); }
close MAIL;
}