diff options
author | Dave Reisner <dreisner@archlinux.org> | 2012-05-08 06:12:46 +0200 |
---|---|---|
committer | Dave Reisner <dreisner@archlinux.org> | 2012-05-16 23:55:54 +0200 |
commit | 018ab6e95cd194fe7aef6a66928759075e9259bd (patch) | |
tree | d8a8a830758d332779fa42478f5fb7ebf3d1a772 /shutdown | |
parent | 0778982e386d15e381b8f7dddd2a2bd68e78236c (diff) | |
download | mkinitcpio-018ab6e95cd194fe7aef6a66928759075e9259bd.tar.gz mkinitcpio-018ab6e95cd194fe7aef6a66928759075e9259bd.tar.xz |
refactor error tracking in build hooks
Rather than catching errors solely from parse_hook via an ERR trap,
implement a RETURN trap which catches all errors from the core add_*
functions.
In the future, this may mean that support for MODULES/FILES/BINARIES
within hooks goes away, and those variables remain only in the config.
Signed-off-by: Dave Reisner <dreisner@archlinux.org>
Diffstat (limited to 'shutdown')
0 files changed, 0 insertions, 0 deletions