diff options
author | Dave Reisner <dreisner@archlinux.org> | 2011-06-30 21:22:39 +0200 |
---|---|---|
committer | Dave Reisner <dreisner@archlinux.org> | 2011-06-30 21:25:26 +0200 |
commit | a594ffca592612f9293454198e56d7ea72b75d14 (patch) | |
tree | 2ae96fb9cdb7b5478e4cc181db1054e57662b3b6 /functions | |
parent | ea07e5a3e7a5fd76b0eb71909ca87ad830cf1be8 (diff) | |
download | mkinitcpio-a594ffca592612f9293454198e56d7ea72b75d14.tar.gz mkinitcpio-a594ffca592612f9293454198e56d7ea72b75d14.tar.xz |
function: return with 0 if we reach the end of add_binary
The read loop will intentionally return 1 on EOF, but parse_hook will
interpret this as an error, and trip our error handler, reporting a
false positive failure.
Diffstat (limited to 'functions')
-rw-r--r-- | functions | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -286,6 +286,8 @@ add_binary() { fi fi done < <(_ldd "$binary") + + return 0 } parse_hook() { |