fix exit code forwarding
authorJoerg Bornemann <joerg.bornemann@digia.com>
Tue, 25 Feb 2014 12:17:32 +0000 (13:17 +0100)
committerJoerg Bornemann <joerg.bornemann@digia.com>
Sun, 16 Mar 2014 09:09:45 +0000 (10:09 +0100)
commit5460afe9a2d9f4c94190d92eea5b188e52c1c80f
treee55e189578fc5cc9cb97842e931c30c9e6819d44
parent33d6404a6527f1b1f0dc1d80e79c5c46c198c953
fix exit code forwarding

In rare cases (failing blocking sub-make) the exit code is retrieved
from the Process object. Unfortunately Process::exitCode() always
returned 0, because the m_exitCode member wasn't set anywhere.

Task-number: QTCREATORBUG-11556
Change-Id: I92ea93cd8e369a12096d6acb23c67bf803f62737
Reviewed-by: Joerg Bornemann <joerg.bornemann@digia.com>
src/jomlib/process.cpp