[machineid] Fix entropy-file return
- If the file was created and written, it would drop out of the if() and return an error anyway.
This commit is contained in:
parent
e56948cefa
commit
c971127b17
@ -127,6 +127,7 @@ createNewEntropy( int poolSize, const QString& rootMountPoint, const QString& fi
|
|||||||
{
|
{
|
||||||
cWarning() << "Entropy data is" << data.length() << "bytes, rather than poolSize" << poolSize;
|
cWarning() << "Entropy data is" << data.length() << "bytes, rather than poolSize" << poolSize;
|
||||||
}
|
}
|
||||||
|
return Calamares::JobResult::ok();
|
||||||
}
|
}
|
||||||
return Calamares::JobResult::error(
|
return Calamares::JobResult::error(
|
||||||
QObject::tr( "File not found" ),
|
QObject::tr( "File not found" ),
|
||||||
|
Loading…
Reference in New Issue
Block a user