kernel-install: fix return value check for getline
getline returns the number of characters read, so check for
ret < 0 instead of ret.

Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
1 parent 40d89c4 commit bbc70303c7166dbe8e72ea12fdc486c28a60c302
@Sascha Hauer Sascha Hauer authored on 20 Jun 2014
Showing 1 changed file
View
scripts/kernel-install.c