浏览代码

Dont fallback to raw if in initiator mode

Eric Helgeson 3 月之前
父节点
当前提交
ddde693ba8
共有 1 个文件被更改,包括 2 次插入1 次删除
  1. 2 1
      src/BlueSCSI.cpp

+ 2 - 1
src/BlueSCSI.cpp

@@ -830,7 +830,8 @@ static void reinitSCSI()
     findHDDImages();
     findHDDImages();
 
 
     // Error if there are 0 image files
     // Error if there are 0 image files
-    if (!scsiDiskCheckAnyImagesConfigured())
+    if (!scsiDiskCheckAnyImagesConfigured() &&
+        !ini_getbool("SCSI", "InitiatorMode", false, CONFIGFILE))
     {
     {
   #ifdef RAW_FALLBACK_ENABLE
   #ifdef RAW_FALLBACK_ENABLE
       logmsg("No images found, enabling RAW fallback partition");
       logmsg("No images found, enabling RAW fallback partition");