summaryrefslogtreecommitdiffstats
path: root/perl-install/common.pm
diff options
context:
space:
mode:
Diffstat (limited to 'perl-install/common.pm')
-rw-r--r--perl-install/common.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/perl-install/common.pm b/perl-install/common.pm
index a3deaac16..79e0271ff 100644
--- a/perl-install/common.pm
+++ b/perl-install/common.pm
@@ -258,7 +258,7 @@ sub require_root_capability {
sub check_for_xserver {
if (!defined $::xtest) {
- $::xtest = $ENV{DISPLAY} && (system('/usr/X11R6/bin/xtest') == 0);
+ $::xtest = $ENV{DISPLAY} && system('/usr/X11R6/bin/xtest') == 0;
}
return $::xtest;
}