summaryrefslogtreecommitdiffstats
path: root/perl-install/install2.pm
diff options
context:
space:
mode:
Diffstat (limited to 'perl-install/install2.pm')
-rw-r--r--perl-install/install2.pm9
1 files changed, 7 insertions, 2 deletions
diff --git a/perl-install/install2.pm b/perl-install/install2.pm
index 3f67073f7..e75dcc57c 100644
--- a/perl-install/install2.pm
+++ b/perl-install/install2.pm
@@ -462,8 +462,13 @@ sub main {
require install_steps_auto_install;
eval { $o = $::o = install_any::loadO($o, $::auto_install) };
if ($@) {
- log::l("error using auto_install, continuing");
- undef $::auto_install;
+ if ($o->{useless_thing_accepted}) { #- Pixel's hack to be able to fail through
+ log::l("error using auto_install, continuing");
+ undef $::auto_install;
+ } else {
+ print "Error using auto_install\n$@\n";
+ install_steps_auto_install::errorInStep();
+ }
} else {
log::l("auto install config file loaded successfully");
}