[machineid] Fix entropy-file return

- If the file was created and written, it would drop out of the
   if() and return an error anyway.
main
Adriaan de Groot 6 years ago
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;
}
return Calamares::JobResult::ok();
}
return Calamares::JobResult::error(
QObject::tr( "File not found" ),

Loading…
Cancel
Save