summaryrefslogtreecommitdiffstats
path: root/perl-install
diff options
context:
space:
mode:
authorDaouda Lo <daouda@mandriva.com>2002-08-02 17:27:31 +0000
committerDaouda Lo <daouda@mandriva.com>2002-08-02 17:27:31 +0000
commit9ece8f5ae9991f844353cd1d7e7a302e118a1c2e (patch)
treedce5d365875cab55eb47137a6937db44c0554234 /perl-install
parentaf75fb57ab9cefb6670c2ec4e359f7ee6f4f9441 (diff)
downloaddrakx-9ece8f5ae9991f844353cd1d7e7a302e118a1c2e.tar
drakx-9ece8f5ae9991f844353cd1d7e7a302e118a1c2e.tar.gz
drakx-9ece8f5ae9991f844353cd1d7e7a302e118a1c2e.tar.bz2
drakx-9ece8f5ae9991f844353cd1d7e7a302e118a1c2e.tar.xz
drakx-9ece8f5ae9991f844353cd1d7e7a302e118a1c2e.zip
- expand $email in cron script
Diffstat (limited to 'perl-install')
-rwxr-xr-xperl-install/standalone/logdrake6
1 files changed, 6 insertions, 0 deletions
diff --git a/perl-install/standalone/logdrake b/perl-install/standalone/logdrake
index a815104ed..9c0fb84dd 100755
--- a/perl-install/standalone/logdrake
+++ b/perl-install/standalone/logdrake
@@ -468,6 +468,9 @@ $r .= "Load is huge: $load\n" if ($load >@ . "$load);\n\n";
$cron .= q@#- report it@;
if ($mail) {
+ $cron .= q@
+$email = @."$email;\n\n";
+
$cron .= q!
open F, '|/usr/sbin/sendmail -oi -t';
@@ -554,6 +557,9 @@ sub destroy_window {
# log
# $Log$
+# Revision 1.21 2002/08/02 17:27:31 daouda
+# - expand $email in cron script
+#
# Revision 1.20 2002/08/02 17:10:01 daouda
# - disable sms alerts (free sms site too complicated to
# handle). Postponed