Skip to content
This repository was archived by the owner on Jan 6, 2023. It is now read-only.

Commit 2846708

Browse files
committed
Do not fail if scanning scsi devices returns failure
In case a file system type is provided for a container which indicates a device to be used for the container rootfs, hyperstart scans the scsi devices. Do not fail if the scsi scan fails.The device to be used may not be a scsi drive and scsi support may be be built in tke kernel. Do not fail here. Signed-off-by: Archana Shinde <[email protected]>
1 parent f12ce98 commit 2846708

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

src/container.c

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -534,7 +534,6 @@ static int hyper_setup_container_rootfs(void *data)
534534

535535
if (container->fstype && hyper_rescan_scsi() < 0) {
536536
fprintf(stdout, "rescan scsi failed\n");
537-
goto fail;
538537
}
539538

540539
if (mount("", "/", NULL, MS_SLAVE|MS_REC, NULL) < 0) {

0 commit comments

Comments
 (0)