summaryrefslogtreecommitdiffstats
path: root/drakwizard.pl
diff options
context:
space:
mode:
Diffstat (limited to 'drakwizard.pl')
-rwxr-xr-xdrakwizard.pl2
1 files changed, 1 insertions, 1 deletions
diff --git a/drakwizard.pl b/drakwizard.pl
index e7ed7c88..0df835e8 100755
--- a/drakwizard.pl
+++ b/drakwizard.pl
@@ -62,7 +62,7 @@ if (!defined($ARGV[0])) {
$in->ask_from(
N("Drakwizard wizard selection"),
N("Please select a wizard"),
- [{ val => \$ARGV[0], list => [sort keys %wiz], format => sub { $wiz{$_}[1] }}]
+ [{ val => \$ARGV[0], list => [sort keys %wiz], format => sub { $wiz{$_[0]}[1] }}]
);
$ARGV[0] = $wiz{$ARGV[0]}[0];
}