From c64e229142b9e0224b0ec783ae029aae904d810c Mon Sep 17 00:00:00 2001 From: Teo Mrnjavac Date: Mon, 4 Aug 2014 16:23:12 +0200 Subject: [PATCH] By default, chrootCall should never time out. --- src/libcalamares/utils/CalamaresUtilsSystem.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/libcalamares/utils/CalamaresUtilsSystem.cpp b/src/libcalamares/utils/CalamaresUtilsSystem.cpp index 1cfae4a46..8f00eda06 100644 --- a/src/libcalamares/utils/CalamaresUtilsSystem.cpp +++ b/src/libcalamares/utils/CalamaresUtilsSystem.cpp @@ -100,7 +100,7 @@ int chrootCall( const QStringList& args, process.closeWriteChannel(); } - if ( !process.waitForFinished( timeoutSec ? ( timeoutSec * 1000 ) : 30000 ) ) + if ( !process.waitForFinished( timeoutSec ? ( timeoutSec * 1000 ) : -1 ) ) { cLog() << "Timed out. output so far:"; cLog() << process.readAllStandardOutput();