summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorThierry Vignaud <tvignaud@mandriva.org>2004-02-06 15:38:47 +0000
committerThierry Vignaud <tvignaud@mandriva.org>2004-02-06 15:38:47 +0000
commitca16874a94f09e39358b9c1570d6fb58e9d27c10 (patch)
treef0a052d6a64764f94d92ae7741fb1324ad655337
parent1b2aace3ba1348315d3d0ddc33c1b198e5715530 (diff)
downloaddrakx-ca16874a94f09e39358b9c1570d6fb58e9d27c10.tar
drakx-ca16874a94f09e39358b9c1570d6fb58e9d27c10.tar.gz
drakx-ca16874a94f09e39358b9c1570d6fb58e9d27c10.tar.bz2
drakx-ca16874a94f09e39358b9c1570d6fb58e9d27c10.tar.xz
drakx-ca16874a94f09e39358b9c1570d6fb58e9d27c10.zip
(alert_config) do not complain when removing non existing cron entry
(aka when one run twice the disable path)
-rwxr-xr-xperl-install/standalone/logdrake2
1 files changed, 1 insertions, 1 deletions
diff --git a/perl-install/standalone/logdrake b/perl-install/standalone/logdrake
index 5206ef514..48c3614bd 100755
--- a/perl-install/standalone/logdrake
+++ b/perl-install/standalone/logdrake
@@ -429,7 +429,7 @@ sub alert_config() {
no_back => 1,
},
stop => {
- pre => sub { rm_rf($cron_file) },
+ pre => sub { eval { rm_rf($cron_file) } },
name => N("Congratulations") . "\n\n" . N("The wizard successfully disabled the mail alert."),
end => 1,
no_back => 1,