hyperstart should not end when rescan scsi fails

Signed-off-by: Julio Montes <julio.montes@intel.com>
This commit is contained in:
Julio Montes
2016-10-03 14:14:06 -05:00
parent 9077cf47b3
commit 72a049a72d
+1 -1
View File
@@ -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;
}