mirror of
https://github.com/SCST-project/scst.git
synced 2026-05-17 10:41:26 +00:00
scstadmin, SCST.pm: Fix lunExists() return code
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@5062 d57e44dd-8a1f-0410-8b47-8ef2f437770f
This commit is contained in:
@@ -1561,7 +1561,7 @@ sub lunExists {
|
||||
return $rc if ($rc > 1);
|
||||
|
||||
$rc = $self->targetExists($driver, $target);
|
||||
return SCST_C_TGT_EXISTS if (!$rc);
|
||||
return SCST_C_TGT_NO_TARGET if (!$rc);
|
||||
return $rc if ($rc > 1);
|
||||
|
||||
if (defined($group)) {
|
||||
|
||||
Reference in New Issue
Block a user