mirror of
https://github.com/SCST-project/scst.git
synced 2026-05-29 18:00:18 +00:00
scstadmin: Fix handlers(), the subroutine that scans for loaded device handlers
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@3691 d57e44dd-8a1f-0410-8b47-8ef2f437770f
This commit is contained in:
@@ -2569,7 +2569,7 @@ sub handlers {
|
||||
foreach my $handler (readdir($hHandle)) {
|
||||
next if (($handler eq '.') || ($handler eq '..'));
|
||||
|
||||
if (-d mkpath(SCST_ROOT, SCST_HANDLERS)) {
|
||||
if (-d mkpath(SCST_ROOT, SCST_HANDLERS, $handler)) {
|
||||
push @handlers, $handler;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user