ectool: Don't ignore fgets return code
commit3a7825983c506d5a521862bfa5700a87c525227d
authorStefan Reinauer <stefan.reinauer@coreboot.org>
Thu, 22 Oct 2020 22:16:20 +0000 (22 22:16 +0000)
committerPatrick Georgi <pgeorgi@google.com>
Mon, 26 Oct 2020 06:56:56 +0000 (26 06:56 +0000)
treedf7c0bb5cc80deb33af60e342eb8e501158dd3a2
parent9d50efe19dad26eba3285c3295b804490b81b0e7
ectool: Don't ignore fgets return code

Change-Id: I12dc449e06dee31b4b0811ab23c6e8635cf31512
Signed-off-by: Stefan Reinauer <stefan.reinauer@coreboot.org>
Reviewed-on: https://review.coreboot.org/c/coreboot/+/46667
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Angel Pons <th3fanbus@gmail.com>
util/ectool/ec.c