mirror of
https://github.com/webmin/webmin.git
synced 2026-02-03 14:13:29 +00:00
Prevent endlessly growing PATH https://github.com/virtualmin/virtualmin-gpl/issues/245
This commit is contained in:
@@ -4714,6 +4714,8 @@ if ($gconfig{'path'}) {
|
||||
# Include OS too
|
||||
$ENV{'PATH'} = $gconfig{'path'}.$path_separator.$ENV{'PATH'};
|
||||
}
|
||||
$ENV{'PATH'} = join($path_separator,
|
||||
&unique(split($path_separator, $ENV{'PATH'})));
|
||||
}
|
||||
$ENV{$gconfig{'ld_env'}} = $gconfig{'ld_path'} if ($gconfig{'ld_env'});
|
||||
|
||||
|
||||
Reference in New Issue
Block a user