aboutsummaryrefslogtreecommitdiff
path: root/net/lla/files
diff options
context:
space:
mode:
authorYing-Chieh Liao <ijliao@FreeBSD.org>2001-10-12 09:45:12 +0000
committerYing-Chieh Liao <ijliao@FreeBSD.org>2001-10-12 09:45:12 +0000
commit9d2bb196023035800181ae4c3f0308225de56fd0 (patch)
tree495bc32795bf9c54e7c73884e4a01d8b5775143b /net/lla/files
parent4695aeb3264b0ba7e3ade326b93aa142de3e68d2 (diff)
downloadports-9d2bb196023035800181ae4c3f0308225de56fd0.tar.gz
ports-9d2bb196023035800181ae4c3f0308225de56fd0.zip
Notes
Diffstat (limited to 'net/lla/files')
-rw-r--r--net/lla/files/patch-aa36
1 files changed, 18 insertions, 18 deletions
diff --git a/net/lla/files/patch-aa b/net/lla/files/patch-aa
index e8662a64adac..2ac0957ece11 100644
--- a/net/lla/files/patch-aa
+++ b/net/lla/files/patch-aa
@@ -1,19 +1,19 @@
-*** lla.pl.orig Wed May 2 14:27:49 2001
---- lla.pl Wed May 2 14:28:14 2001
+*** lla.orig Wed Sep 26 16:22:29 2001
+--- lla Wed Sep 26 16:22:45 2001
***************
-*** 123,129 ****
- else
- {
- $MailSubject = "LDAP Log Analyse Report";
-! open (EMAIL , "| /bin/mail -s \"$MailSubject\" $email");
- print EMAIL $report;
- close EMAIL;
-
---- 123,129 ----
- else
- {
- $MailSubject = "LDAP Log Analyse Report";
-! open (EMAIL , "| /usr/bin/mail -s \"$MailSubject\" $email");
- print EMAIL $report;
- close EMAIL;
-
+*** 269,275 ****
+ if (@email) {
+ my $MailSubject = "LDAP Log Analyse Report";
+ my $all_email = join ' ', @email;
+! open OUTPUT, "| /bin/mail -s \"$MailSubject\" $all_email";
+ } else {
+ open OUTPUT, ">&STDOUT";
+ }
+--- 269,275 ----
+ if (@email) {
+ my $MailSubject = "LDAP Log Analyse Report";
+ my $all_email = join ' ', @email;
+! open OUTPUT, "| /usr/bin/mail -s \"$MailSubject\" $all_email";
+ } else {
+ open OUTPUT, ">&STDOUT";
+ }