summaryrefslogtreecommitdiffstats
path: root/perl-install
diff options
context:
space:
mode:
authorPascal Rigaux <pixel@mandriva.com>2001-01-31 11:45:56 +0000
committerPascal Rigaux <pixel@mandriva.com>2001-01-31 11:45:56 +0000
commit8ffe721096c64de422245ad1952b6c2eb7ed7c46 (patch)
treeef1debfecd0886634dd3ec7353eb6da93d1b4587 /perl-install
parent8fc002146fdf5c2ef50ca82752e74956141bf320 (diff)
downloaddrakx-backup-do-not-use-8ffe721096c64de422245ad1952b6c2eb7ed7c46.tar
drakx-backup-do-not-use-8ffe721096c64de422245ad1952b6c2eb7ed7c46.tar.gz
drakx-backup-do-not-use-8ffe721096c64de422245ad1952b6c2eb7ed7c46.tar.bz2
drakx-backup-do-not-use-8ffe721096c64de422245ad1952b6c2eb7ed7c46.tar.xz
drakx-backup-do-not-use-8ffe721096c64de422245ad1952b6c2eb7ed7c46.zip
(main): better error message for auto_install failing
Diffstat (limited to 'perl-install')
-rw-r--r--perl-install/Xconfigurator.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/perl-install/Xconfigurator.pm b/perl-install/Xconfigurator.pm
index d2a2bd612..694efc78d 100644
--- a/perl-install/Xconfigurator.pm
+++ b/perl-install/Xconfigurator.pm
@@ -1076,7 +1076,7 @@ sub main {
$in->set_help('configureXmain') unless $::isStandalone;
my $f = $in->ask_from_list_(['XFdrake'],
_("What do you want to do?"),
- [ grep { !ref } @c ]);
+ [ grep { !ref } @c ]) or die "automatic X configuration failed, ensure you give hsyncrange and vsyncrange with non-DDC aware videocards/monitors";
eval { &{$c{$f}} };
!$@ || $@ =~ /ask_from_list cancel/ or die;
$in->kill;