summaryrefslogtreecommitdiffstats
path: root/perl-install
diff options
context:
space:
mode:
authorPascal Rigaux <pixel@mandriva.com>2001-03-05 17:07:46 +0000
committerPascal Rigaux <pixel@mandriva.com>2001-03-05 17:07:46 +0000
commit14fc74c9c6a02f370cb6be8ffe2e711940fc2285 (patch)
tree3185c38de3a9246c401a8abe874fdb54813ff109 /perl-install
parent4383fd792d9c6b2ed82435ce9ff33b1651e51a4d (diff)
downloaddrakx-14fc74c9c6a02f370cb6be8ffe2e711940fc2285.tar
drakx-14fc74c9c6a02f370cb6be8ffe2e711940fc2285.tar.gz
drakx-14fc74c9c6a02f370cb6be8ffe2e711940fc2285.tar.bz2
drakx-14fc74c9c6a02f370cb6be8ffe2e711940fc2285.tar.xz
drakx-14fc74c9c6a02f370cb6be8ffe2e711940fc2285.zip
(vnew): cleanup
Diffstat (limited to 'perl-install')
-rw-r--r--perl-install/interactive.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/perl-install/interactive.pm b/perl-install/interactive.pm
index dcd8cc1e3..4b9079987 100644
--- a/perl-install/interactive.pm
+++ b/perl-install/interactive.pm
@@ -57,7 +57,7 @@ sub vnew {
my ($type, $su) = @_;
$su = $su eq "su";
require c;
- if ($ENV{DISPLAY} && system('/usr/X11R6/bin/xtest', '') == 0) {
+ if ($ENV{DISPLAY} && system('/usr/X11R6/bin/xtest') == 0) {
if ($su) {
$ENV{PATH} = "/sbin:/usr/sbin:$ENV{PATH}";
$> and exec "kdesu", "-c", "$0 @ARGV";