summaryrefslogtreecommitdiffstats
path: root/perl-install
diff options
context:
space:
mode:
Diffstat (limited to 'perl-install')
-rw-r--r--perl-install/Xconfig/test.pm3
1 files changed, 2 insertions, 1 deletions
diff --git a/perl-install/Xconfig/test.pm b/perl-install/Xconfig/test.pm
index 0648a28b1..9431f9207 100644
--- a/perl-install/Xconfig/test.pm
+++ b/perl-install/Xconfig/test.pm
@@ -136,11 +136,12 @@ sub test {
my $rc = close F;
my $err = $?;
+ $rc || $err == 222 << 8 or $in->ask_warn('', _("An error occurred, try to change some parameters"));
+
unlink "$::prefix/$f", "$::prefix/$f-4";
unlink "/tmp/.X11-unix/X9" if $::prefix;
kill 2, $pid;
$::noShadow = 0;
- $rc || $err == 222 << 8 or $in->ask_warn('', _("An error occurred, try to change some parameters"));
$rc;
}