summaryrefslogtreecommitdiffstats
path: root/installerfw.pri
diff options
context:
space:
mode:
authorFrerich Raabe <raabe@froglogic.com>2016-03-02 23:11:02 +0100
committerKatja Marttila <katja.marttila@theqtcompany.com>2016-05-03 07:41:28 +0000
commit81776586ed1f52fc58476c27bb14a850453213c2 (patch)
tree3b0caf4fc5c6fca91da4d5a1a245769f4ab74c9b /installerfw.pri
parentb5480f253ac64ad66e8f8150d7dd7896fc6258e0 (diff)
Fixed detecting problems while launching sudo
The installer would always consider the exit status of the sudo process, but if executing sudo itself fails (e.g. because the file does not exist, or because of insufficient permissions), a success exit status (zero) was returned. Fix this by rather returning the (negative) errno value in case anything goes wrong with execve. Change-Id: Iac5051e998982c6a31fa49cb6f4290cf66050c44 Reviewed-by: Frederik Gladhorn <frederik.gladhorn@theqtcompany.com> Reviewed-by: Simon Hausmann <simon.hausmann@theqtcompany.com>
Diffstat (limited to 'installerfw.pri')
0 files changed, 0 insertions, 0 deletions