mirror of
https://github.com/clearlinux/hyperstart.git
synced 2026-10-03 23:48:25 +00:00
Merge pull request #196 from devimc/topic/rescan_scsi
hyperstart should not end when rescan scsi fails
This commit is contained in:
+1
-1
@@ -529,7 +529,7 @@ static int hyper_setup_container_rootfs(void *data)
|
||||
/* To create files/directories accessible for all users. */
|
||||
umask(0);
|
||||
|
||||
if (hyper_rescan_scsi() < 0) {
|
||||
if (container->fstype && hyper_rescan_scsi() < 0) {
|
||||
fprintf(stdout, "rescan scsi failed\n");
|
||||
goto fail;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user