commit:     9d27952965cec81bbdfe66d94391fc6ea506bbbb
Author:     eroen <eroen <AT> occam <DOT> eroen <DOT> eu>
AuthorDate: Tue Aug 26 19:04:44 2014 +0000
Commit:     Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Tue Aug 26 19:38:12 2014 +0000
URL:        
http://sources.gentoo.org/gitweb/?p=proj/portage.git;a=commit;h=9d279529

bin/misc-functions.sh: Empty flag variable 'error' before (re-)use

Prevent subsequent .png files from inheriting error status from earlier
file.

Reviewed-By: Michał Górny <mgorny <AT> gentoo.org>
Acked-By: Brian Dolbec <dolsen <AT> gentoo.org>

---
 bin/misc-functions.sh | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/bin/misc-functions.sh b/bin/misc-functions.sh
index 961738f..e45d810 100755
--- a/bin/misc-functions.sh
+++ b/bin/misc-functions.sh
@@ -882,7 +882,7 @@ install_qa_check() {
                local next
 
                while read -r -a pngout ; do
-                       local error
+                       local error=""
 
                        case "${pngout[1]}" in
                                CHK)

Reply via email to