mirror of
https://github.com/webmin/webmin.git
synced 2025-07-21 23:40:34 +00:00
Don't try to run find if dir doesn't exist https://sourceforge.net/p/webadmin/bugs/5398/
This commit is contained in:
@ -44,7 +44,7 @@ foreach $d (&expand_usr64($Config{'privlib'}),
|
||||
&expand_usr64($Config{'vendorlib_stem'} ? $Config{'vendorlib_stem'} :
|
||||
$Config{'vendorlib'}),
|
||||
&expand_usr64($Config{'installprivlib'})) {
|
||||
next if (!$d);
|
||||
next if (!$d || !-d $d);
|
||||
next if ($donedir{$d});
|
||||
local $f;
|
||||
open(FIND, "find ".quotemeta($d)." -name .packlist -print |");
|
||||
|
Reference in New Issue
Block a user