summaryrefslogtreecommitdiffstats
path: root/perl-install/standalone
diff options
context:
space:
mode:
authorPascal Rigaux <pixel@mandriva.com>2004-01-07 22:40:44 +0000
committerPascal Rigaux <pixel@mandriva.com>2004-01-07 22:40:44 +0000
commita4b490c073a71bfdcc1d8df8efae320899d3551d (patch)
treeb0f414db9926be93a3099e481e555a6ab8ea4ff7 /perl-install/standalone
parent246b7e545d74ec577209f4e9d5ce8f0f5acfb7c2 (diff)
downloaddrakx-a4b490c073a71bfdcc1d8df8efae320899d3551d.tar
drakx-a4b490c073a71bfdcc1d8df8efae320899d3551d.tar.gz
drakx-a4b490c073a71bfdcc1d8df8efae320899d3551d.tar.bz2
drakx-a4b490c073a71bfdcc1d8df8efae320899d3551d.tar.xz
drakx-a4b490c073a71bfdcc1d8df8efae320899d3551d.zip
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)
Diffstat (limited to 'perl-install/standalone')
-rwxr-xr-xperl-install/standalone/diskdrake2
1 files changed, 0 insertions, 2 deletions
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, '');