Have nwipe continue with following devices even if one fails

This commit is contained in:
PartialVolume
2019-11-06 14:13:33 +00:00
parent 4b9ae33171
commit f6c1cab28a

View File

@@ -90,7 +90,10 @@ int nwipe_device_get( nwipe_context_t*** c, char **devnamelist, int ndevnames )
dev = ped_device_get(devnamelist[i]);
if (!dev)
break;
{
nwipe_log( NWIPE_LOG_WARNING, "Device %s not found", devnamelist[i] );
continue;
}
if (check_device(c, dev, dcount))
dcount++;