From a594ffca592612f9293454198e56d7ea72b75d14 Mon Sep 17 00:00:00 2001 From: Dave Reisner Date: Thu, 30 Jun 2011 15:22:39 -0400 Subject: 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. --- functions | 2 ++ 1 file changed, 2 insertions(+) diff --git a/functions b/functions index 9c095bc..3e3fee9 100644 --- a/functions +++ b/functions @@ -286,6 +286,8 @@ add_binary() { fi fi done < <(_ldd "$binary") + + return 0 } parse_hook() { -- cgit v1.2.3-24-g4f1b