summaryrefslogtreecommitdiffstats
path: root/perl-install
diff options
context:
space:
mode:
Diffstat (limited to 'perl-install')
-rw-r--r--perl-install/wizards.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/perl-install/wizards.pm b/perl-install/wizards.pm
index 15f3beb31..dde2453db 100644
--- a/perl-install/wizards.pm
+++ b/perl-install/wizards.pm
@@ -162,7 +162,7 @@ sub process {
push @steps, $next if !$page->{ignore} && $steps[-1] ne $next;
my $current = $next;
$next = defined $page->{post} ? $page->{post}($a) : 0;
- return if $current eq "end";
+ return if $page->{end};
if (!$next) {
if (!defined $o->{pages}{$next}) {
$next = $page->{next};