From 5a9afd422235d3082b8cb838ced57878ea832914 Mon Sep 17 00:00:00 2001 From: Pascal Rigaux Date: Thu, 23 Dec 2004 09:10:39 +0000 Subject: - don't ask X to restart in auto mode - set exit status to 1 when configuration failed (esp. auto mode) --- perl-install/standalone/XFdrake | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'perl-install/standalone/XFdrake') diff --git a/perl-install/standalone/XFdrake b/perl-install/standalone/XFdrake index ee5fda955..4c0a63f52 100755 --- a/perl-install/standalone/XFdrake +++ b/perl-install/standalone/XFdrake @@ -53,9 +53,9 @@ $configure_this ||= 'everything'; Xconfig::main::configure_resolution($in, Xconfig::xfree->read); } }; - ask_for_X_restart($in) if $rc; + ask_for_X_restart($in) if $rc && !$::auto; - $in->exit(0); + $in->exit($rc ? 0 : 1); } sub check_XFree { -- cgit v1.2.1