From a4b490c073a71bfdcc1d8df8efae320899d3551d Mon Sep 17 00:00:00 2001 From: Pascal Rigaux Date: Wed, 7 Jan 2004 22:40:44 +0000 Subject: logging when __DIE__ing is dangerous: - in diskdrake, logging the error via c::syslog caused $@ to be undefined, causing the error to be dropped! (esp "you need to reboot") - during install, no known error, but it's better to remove it anyway (bye bye the "warning: ..." in ddebug.log, sniff) --- perl-install/standalone/diskdrake | 2 -- 1 file changed, 2 deletions(-) (limited to 'perl-install/standalone/diskdrake') diff --git a/perl-install/standalone/diskdrake b/perl-install/standalone/diskdrake index eaaf06dde..3ad23b5ef 100755 --- a/perl-install/standalone/diskdrake +++ b/perl-install/standalone/diskdrake @@ -71,8 +71,6 @@ if ($type eq 'fileshare') { my $all_hds = fsedit::get_hds({}, $in); -$SIG{__DIE__} = sub { my $m = formatError($_[0]); log::l("ERROR: $m") }; - fs::get_raw_hds('', $all_hds); fs::get_info_from_fstab($all_hds, ''); -- cgit v1.2.1