mirror of
https://github.com/SCST-project/scst.git
synced 2026-05-17 10:41:26 +00:00
- Small fix to driverIsVirtualCapable().
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@1772 d57e44dd-8a1f-0410-8b47-8ef2f437770f
This commit is contained in:
@@ -741,8 +741,8 @@ sub driverIsVirtualCapable {
|
||||
|
||||
my $io = new IO::File $path, O_WRONLY;
|
||||
|
||||
return TRUE if (!$io);
|
||||
return FALSE;
|
||||
return FALSE if (!defined($io));
|
||||
return TRUE;
|
||||
}
|
||||
|
||||
sub targetType {
|
||||
|
||||
Reference in New Issue
Block a user