By default, chrootCall should never time out.

This commit is contained in:
Teo Mrnjavac 2014-08-04 16:23:12 +02:00
parent 45ac91c784
commit c64e229142

View file

@ -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();