mirror of
https://github.com/parchlinux/calamares.git
synced 2025-06-29 02:15:36 -04:00
[zfs] Fix typo and add missing continue
This commit is contained in:
parent
90452147a3
commit
91762e3df4
1 changed files with 2 additions and 1 deletions
|
@ -171,6 +171,7 @@ ZfsJob::exec()
|
||||||
if ( r.getExitCode() != 0 )
|
if ( r.getExitCode() != 0 )
|
||||||
{
|
{
|
||||||
cWarning() << "Failed to create dataset" << datasetMap[ "dsName" ].toString();
|
cWarning() << "Failed to create dataset" << datasetMap[ "dsName" ].toString();
|
||||||
|
continue;
|
||||||
}
|
}
|
||||||
|
|
||||||
// Add the dataset to the list for global storage
|
// Add the dataset to the list for global storage
|
||||||
|
@ -184,7 +185,7 @@ ZfsJob::exec()
|
||||||
gs->insert( "zfs", datasetList );
|
gs->insert( "zfs", datasetList );
|
||||||
}
|
}
|
||||||
|
|
||||||
// Export the zpool so it can be reimported at the correct local later
|
// Export the zpool so it can be reimported at the correct location later
|
||||||
auto r = system->runCommand( { "zpool", "export", m_poolName }, std::chrono::seconds( 10 ) );
|
auto r = system->runCommand( { "zpool", "export", m_poolName }, std::chrono::seconds( 10 ) );
|
||||||
if ( r.getExitCode() != 0 )
|
if ( r.getExitCode() != 0 )
|
||||||
{
|
{
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue