summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorThierry Vignaud <tvignaud@mandriva.org>2003-10-12 16:45:52 +0000
committerThierry Vignaud <tvignaud@mandriva.org>2003-10-12 16:45:52 +0000
commitfcc7fb26f24d445bbd72797626cf7cb92aa499b3 (patch)
treebe246d9e45f6df3edab0cc264731bc6afa7d2e2b
parent45190f26bd148d7eb8554c6ef11898f3f6da023e (diff)
downloaddrakx-fcc7fb26f24d445bbd72797626cf7cb92aa499b3.tar
drakx-fcc7fb26f24d445bbd72797626cf7cb92aa499b3.tar.gz
drakx-fcc7fb26f24d445bbd72797626cf7cb92aa499b3.tar.bz2
drakx-fcc7fb26f24d445bbd72797626cf7cb92aa499b3.tar.xz
drakx-fcc7fb26f24d445bbd72797626cf7cb92aa499b3.zip
generate perl_checker compliant cron tasks
-rwxr-xr-xperl-install/standalone/logdrake8
1 files changed, 4 insertions, 4 deletions
diff --git a/perl-install/standalone/logdrake b/perl-install/standalone/logdrake
index 84cb9261c..81fd3f5c2 100755
--- a/perl-install/standalone/logdrake
+++ b/perl-install/standalone/logdrake
@@ -459,12 +459,12 @@ EOF
my $email = ) . "'$email';\n\n";
- $cron .= q(local *F;
-open F, '|/usr/sbin/sendmail -oi -t';
-print F q(Subject: logdrake Mail Alert
+ $cron .= q(my $F;
+open $F, '|/usr/sbin/sendmail -oi -t';
+print $F q(Subject: logdrake2 Mail Alert
From: root@localhost
To: ), "$email\n";
-print F $r;
+print $F $r;
# EOF);
output_with_perm "/etc/cron.hourly/logdrake_service", 0755, $cron;