summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPascal Rigaux <pixel@mandriva.com>2003-05-12 15:52:08 +0000
committerPascal Rigaux <pixel@mandriva.com>2003-05-12 15:52:08 +0000
commite2cc07f19011abbb3dbe6b76873eb98828cba2c8 (patch)
tree8ed2a3f4234a74126de4a931a302531080358eec
parent19051cd51e0c7c13012869a6e7645df8a2119089 (diff)
downloaddrakx-e2cc07f19011abbb3dbe6b76873eb98828cba2c8.tar
drakx-e2cc07f19011abbb3dbe6b76873eb98828cba2c8.tar.gz
drakx-e2cc07f19011abbb3dbe6b76873eb98828cba2c8.tar.bz2
drakx-e2cc07f19011abbb3dbe6b76873eb98828cba2c8.tar.xz
drakx-e2cc07f19011abbb3dbe6b76873eb98828cba2c8.zip
have the "Ok" in ask_from__add_modify_remove return true in default mode (eg: newt)
-rw-r--r--perl-install/interactive.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/perl-install/interactive.pm b/perl-install/interactive.pm
index f497c438a..767b54004 100644
--- a/perl-install/interactive.pm
+++ b/perl-install/interactive.pm
@@ -291,7 +291,7 @@ sub ask_from__add_modify_remove {
} } }
N_("Add"), if_(@{$e->{list}} > 0, N_("Modify"), N_("Remove")));
$o->ask_from_({ title => $title, messages => $message, callbacks => \%callback }, \@l) or return;
- return if !$continue;
+ return 1 if !$continue;
}
}
}