diff options
Diffstat (limited to 'perl-install/interactive.pm')
-rw-r--r-- | perl-install/interactive.pm | 6 |
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]) } |