diff options
-rw-r--r-- | perl-install/install/install2.pm | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/perl-install/install/install2.pm b/perl-install/install/install2.pm index 77536d7c0..53597f813 100644 --- a/perl-install/install/install2.pm +++ b/perl-install/install/install2.pm @@ -552,8 +552,11 @@ sub main { $ENV{META_CLASS} = $o->{meta_class}; #- for Ia Ora foreach (@::auto_steps) { - my $s = $o->{steps}{/::(.*)/ ? $1 : $_} or next; - $s->{auto} = $s->{hidden} = 1; + if (my $s = $o->{steps}{/::(.*)/ ? $1 : $_}) { + $s->{auto} = $s->{hidden} = 1; + } else { + log::l("ERROR: unknown step $_ in auto_steps"); + } } my $o_; |