pstopre: fix return value of list_files()
authorYu Watanabe <watanabe.yu+github@gmail.com>
Mon, 22 Jul 2019 01:55:10 +0000 (10:55 +0900)
committerYu Watanabe <watanabe.yu+github@gmail.com>
Mon, 22 Jul 2019 05:10:31 +0000 (14:10 +0900)
commit337874a45fff46a80e4974c681a5e651f3a0fac9
tree044c67e40167a229390ef80d0e20edd7e532db02
parent2e4effd129343d22bfed34e94810d3f87c8f0e85
pstopre: fix return value of list_files()

Previously, the return value of the last read_full_file() is returned.
This makes the error in read_full_file() is always ignored.
src/pstore/pstore.c