summaryrefslogtreecommitdiffstats
path: root/perl-install/interactive.pm
diff options
context:
space:
mode:
authorPascal Rigaux <pixel@mandriva.com>1999-12-17 17:28:14 +0000
committerPascal Rigaux <pixel@mandriva.com>1999-12-17 17:28:14 +0000
commit224b14cb6b741fb15dcc4fd170306dc0165cba29 (patch)
tree6135c5e28a8638890df3e201b5b349136aedb0ba /perl-install/interactive.pm
parentd057708b3e1217b809c383563d54ae9e316bf189 (diff)
downloaddrakx-backup-do-not-use-224b14cb6b741fb15dcc4fd170306dc0165cba29.tar
drakx-backup-do-not-use-224b14cb6b741fb15dcc4fd170306dc0165cba29.tar.gz
drakx-backup-do-not-use-224b14cb6b741fb15dcc4fd170306dc0165cba29.tar.bz2
drakx-backup-do-not-use-224b14cb6b741fb15dcc4fd170306dc0165cba29.tar.xz
drakx-backup-do-not-use-224b14cb6b741fb15dcc4fd170306dc0165cba29.zip
no_comment
Diffstat (limited to 'perl-install/interactive.pm')
-rw-r--r--perl-install/interactive.pm6
1 files changed, 4 insertions, 2 deletions
diff --git a/perl-install/interactive.pm b/perl-install/interactive.pm
index 6691455db..960657ee9 100644
--- a/perl-install/interactive.pm
+++ b/perl-install/interactive.pm
@@ -43,9 +43,9 @@ sub vnew {
$su = $su eq "su";
require c;
if (c::Xtest($ENV{DISPLAY} ||= ":0")) {
- if ($su && $>) {
+ if ($su) {
$ENV{PATH} = "/sbin:/usr/sbin:$ENV{PATH}";
- exec "kdesu", "-c", "$0 @ARGV";
+ $> and exec "kdesu", "-c", "$0 @ARGV";
}
require interactive_gtk;
interactive_gtk->new;
@@ -61,6 +61,8 @@ sub vnew {
}
}
+sub suspend {}
+sub resume {}
sub end {}
sub exit { exit($_[0]) }