From c971127b17aa5a4c3c34810890e93a6f90cd8ce3 Mon Sep 17 00:00:00 2001 From: Adriaan de Groot Date: Thu, 30 Jan 2020 10:08:55 +0100 Subject: [PATCH] [machineid] Fix entropy-file return - If the file was created and written, it would drop out of the if() and return an error anyway. --- src/modules/machineid/Workers.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/src/modules/machineid/Workers.cpp b/src/modules/machineid/Workers.cpp index 178f03de5..cfee6f179 100644 --- a/src/modules/machineid/Workers.cpp +++ b/src/modules/machineid/Workers.cpp @@ -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" ),