summaryrefslogtreecommitdiffstats
path: root/perl-install/install/install2.pm
diff options
context:
space:
mode:
Diffstat (limited to 'perl-install/install/install2.pm')
-rw-r--r--perl-install/install/install2.pm3
1 files changed, 1 insertions, 2 deletions
diff --git a/perl-install/install/install2.pm b/perl-install/install/install2.pm
index 8917834e2..25ead647d 100644
--- a/perl-install/install/install2.pm
+++ b/perl-install/install/install2.pm
@@ -26,7 +26,6 @@ use any;
use log;
use fs;
use fs::any;
-use Scalar::Util qw(blessed dualvar);
#-#######################################################################################
@@ -321,7 +320,7 @@ sub main {
$SIG{SEGV} = sub {
my $msg = "segmentation fault: install crashed (maybe memory is missing?)\n" . backtrace();
log::l("$msg\n");
- blessed($o) and $o->ask_warn('', $msg);
+ UNIVERSAL::can($o, 'ask_warn') and $o->ask_warn('', $msg);
setVirtual(1);
require install::steps_auto_install;
install::steps_auto_install_non_interactive::errorInStep($o, $msg);