From: Jeremy Kerr Date: Tue, 21 Jan 2014 00:27:48 +0000 (+0800) Subject: discover/paths: Check process exit status when loading URLs X-Git-Tag: v1.0.0~261 X-Git-Url: https://git.ozlabs.org/?a=commitdiff_plain;ds=sidebyside;h=6acda62401f17924b7004e25d038533e282903a1;hp=6acda62401f17924b7004e25d038533e282903a1;p=petitboot discover/paths: Check process exit status when loading URLs Currently, we may report incorrect success when loading a URL, as we only check the return value of process_run_sync() (and not the process exit status itself) in load_process_to_local_file. This fix adds a check to the synchronous load. Signed-off-by: Jeremy Kerr ---