mirror of
https://github.com/webmin/webmin.git
synced 2026-03-20 08:40:24 +00:00
Remove redudant check
This commit is contained in:
@@ -3681,7 +3681,6 @@ $mdir =~ /^(.*)$/; # untaint, part 1
|
||||
$mdir = $1; # untaint, part 2
|
||||
$mdir && -d $mdir || &error("Module $mod does not exist");
|
||||
@INC = &unique($mdir, @INC);
|
||||
-d $mdir || &error("Module $mod does not exist");
|
||||
if (!&get_module_name() && $mod) {
|
||||
chdir($mdir);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user