diff options
Diffstat (limited to 'perl-install')
-rw-r--r-- | perl-install/interactive.pm | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/perl-install/interactive.pm b/perl-install/interactive.pm index b22e703a9..644e75a29 100644 --- a/perl-install/interactive.pm +++ b/perl-install/interactive.pm @@ -79,7 +79,7 @@ sub vnew { require c; if ($su) { $ENV{PATH} = "/sbin:/usr/sbin:$ENV{PATH}"; - $su = '' if $::testing; + $su = '' if $::testing || $ENV{TESTING}; } if ($ENV{DISPLAY} && system('/usr/X11R6/bin/xtest') == 0) { if ($su && $>) { |