Use return value to check error 01/244701/2
authorKichan Kwon <k_c.kwon@samsung.com>
Wed, 23 Sep 2020 08:39:22 +0000 (17:39 +0900)
committerKichan Kwon <k_c.kwon@samsung.com>
Wed, 23 Sep 2020 09:12:33 +0000 (18:12 +0900)
commit89da4605ef9c9f987a08a389030bfb5c16228fc3
tree1c0566dd79a62a87d96ddb0a56fa6fc503d83589
parentd478c1a7f8043b4dfda6580f1715660fa2a9734e
Use return value to check error

- In general, return value is used to detect error
- Reference : http://c-faq.com/misc/errno.html

Change-Id: Ib58419ed2012e050d79fe1437b726885fafe046a
Signed-off-by: Kichan Kwon <k_c.kwon@samsung.com>
src/system-recovery.c