From ca16874a94f09e39358b9c1570d6fb58e9d27c10 Mon Sep 17 00:00:00 2001 From: Thierry Vignaud Date: Fri, 6 Feb 2004 15:38:47 +0000 Subject: (alert_config) do not complain when removing non existing cron entry (aka when one run twice the disable path) --- perl-install/standalone/logdrake | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'perl-install/standalone/logdrake') 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, -- cgit v1.2.1