mirror of
https://github.com/SCST-project/scst.git
synced 2026-05-22 21:21:28 +00:00
scstadmin -list_drv_attr: Do not print the error message "No such driver found" for target drivers without attributes
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@3675 d57e44dd-8a1f-0410-8b47-8ef2f437770f
This commit is contained in:
@@ -2794,11 +2794,6 @@ sub listDriverAttributes {
|
||||
|
||||
return TRUE if issueWarning($SCST->errorString());
|
||||
|
||||
if (!scalar(keys %{$attributes})) {
|
||||
print "No such driver '$driver' found.\n";
|
||||
return;
|
||||
}
|
||||
|
||||
my $rc = listAttributes($attributes, $nonkey);
|
||||
return $rc if ($rc);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user