- 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:
Mark Buechler
2010-06-15 16:46:17 +00:00
parent d6053c491b
commit 3016232224

View File

@@ -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 {