aboutsummaryrefslogtreecommitdiff
path: root/src/arch
diff options
context:
space:
mode:
authorMichael Brown <mcb30@ipxe.org>2012-07-12 15:28:37 +0100
committerMichael Brown <mcb30@ipxe.org>2012-07-12 15:46:24 +0100
commitc5c257788f36d178176eb59b0d4c5fdd88080c19 (patch)
treea285348bbea4dbb2244286f51ae256ded721a249 /src/arch
parent5b4958388ded47c93686076e318195393a4c4b9f (diff)
downloadipxe-c5c257788f36d178176eb59b0d4c5fdd88080c19.zip
ipxe-c5c257788f36d178176eb59b0d4c5fdd88080c19.tar.gz
ipxe-c5c257788f36d178176eb59b0d4c5fdd88080c19.tar.bz2
[settings] Expose exit status of failed command via ${errno}
Allow scripts to report errors in more detail by exposing the most recent error via the ${errno} setting. For example: chain ${filename} || goto failed ... :failed imgfree http://192.168.0.1/ipxe_error.php?error=${errno} Note that ${errno} is valid only immediately after executing a failed command. Signed-off-by: Michael Brown <mcb30@ipxe.org>
Diffstat (limited to 'src/arch')
0 files changed, 0 insertions, 0 deletions