summaryrefslogtreecommitdiffstats
path: root/perl-install/Xconfig
diff options
context:
space:
mode:
Diffstat (limited to 'perl-install/Xconfig')
-rw-r--r--perl-install/Xconfig/main.pm4
1 files changed, 2 insertions, 2 deletions
diff --git a/perl-install/Xconfig/main.pm b/perl-install/Xconfig/main.pm
index e247b001f..27f8fd76b 100644
--- a/perl-install/Xconfig/main.pm
+++ b/perl-install/Xconfig/main.pm
@@ -127,9 +127,9 @@ sub configure_chooser {
my ($in, $raw_X, $do_pkgs, $options) = @_;
my $X = {
- card => eval { Xconfig::card::from_raw_X($raw_X) },
+ card => scalar eval { Xconfig::card::from_raw_X($raw_X) },
monitor => $raw_X->get_monitors && Xconfig::monitor::from_raw_X($raw_X),
- resolution => eval { $raw_X->get_resolution },
+ resolution => scalar eval { $raw_X->get_resolution },
};
my ($ok, $modified) = configure_chooser_raw($in, $raw_X, $do_pkgs, $options, $X);