diff options
-rwxr-xr-x | perl-install/standalone/XFdrake | 4 |
1 files changed, 2 insertions, 2 deletions
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 { |