summaryrefslogtreecommitdiffstats
path: root/perl-install
diff options
context:
space:
mode:
authorPascal Rigaux <pixel@mandriva.com>2002-02-23 23:35:07 +0000
committerPascal Rigaux <pixel@mandriva.com>2002-02-23 23:35:07 +0000
commit18aff6d028be2477bf60c5236f7955f8c64350a1 (patch)
tree40d213bb7ce9138a6e0a262c98b299a5c5ba8045 /perl-install
parentf5a2a1b2ba73493732aef3c0744622e0e050099f (diff)
downloaddrakx-18aff6d028be2477bf60c5236f7955f8c64350a1.tar
drakx-18aff6d028be2477bf60c5236f7955f8c64350a1.tar.gz
drakx-18aff6d028be2477bf60c5236f7955f8c64350a1.tar.bz2
drakx-18aff6d028be2477bf60c5236f7955f8c64350a1.tar.xz
drakx-18aff6d028be2477bf60c5236f7955f8c64350a1.zip
no need to catch the exception from devices::make anymore
Diffstat (limited to 'perl-install')
-rw-r--r--perl-install/detect_devices.pm4
1 files changed, 2 insertions, 2 deletions
diff --git a/perl-install/detect_devices.pm b/perl-install/detect_devices.pm
index f324bca8c..0ea650e1f 100644
--- a/perl-install/detect_devices.pm
+++ b/perl-install/detect_devices.pm
@@ -354,12 +354,12 @@ sub check {
sub tryOpen($) {
local *F;
- eval { sysopen F, devices::make($_[0]), c::O_NONBLOCK() and *F };
+ sysopen F, devices::make($_[0]), c::O_NONBLOCK() and *F;
}
sub tryWrite($) {
local *F;
- eval { sysopen F, devices::make($_[0]), 1 | c::O_NONBLOCK() and *F };
+ sysopen F, devices::make($_[0]), 1 | c::O_NONBLOCK() and *F;
}
sub syslog {