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:
Bart Van Assche
2011-07-19 15:39:39 +00:00
parent 8fd3c8dcac
commit 6640a95b54

View File

@@ -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;
}
}