diff options
author | Thierry Vignaud <tvignaud@mandriva.org> | 2004-02-06 15:38:47 +0000 |
---|---|---|
committer | Thierry Vignaud <tvignaud@mandriva.org> | 2004-02-06 15:38:47 +0000 |
commit | ca16874a94f09e39358b9c1570d6fb58e9d27c10 (patch) | |
tree | f0a052d6a64764f94d92ae7741fb1324ad655337 | |
parent | 1b2aace3ba1348315d3d0ddc33c1b198e5715530 (diff) | |
download | drakx-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-x | perl-install/standalone/logdrake | 2 |
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, |