By default, chrootCall should never time out.
This commit is contained in:
parent
45ac91c784
commit
c64e229142
@ -100,7 +100,7 @@ int chrootCall( const QStringList& args,
|
|||||||
process.closeWriteChannel();
|
process.closeWriteChannel();
|
||||||
}
|
}
|
||||||
|
|
||||||
if ( !process.waitForFinished( timeoutSec ? ( timeoutSec * 1000 ) : 30000 ) )
|
if ( !process.waitForFinished( timeoutSec ? ( timeoutSec * 1000 ) : -1 ) )
|
||||||
{
|
{
|
||||||
cLog() << "Timed out. output so far:";
|
cLog() << "Timed out. output so far:";
|
||||||
cLog() << process.readAllStandardOutput();
|
cLog() << process.readAllStandardOutput();
|
||||||
|
Loading…
Reference in New Issue
Block a user