depmod: read_config_file() should abort on error
authorLuiz Fernando N. Capitulino <lcapitulino@mandriva.com.br>
Fri, 9 Feb 2007 19:10:47 +0000 (17:10 -0200)
committerLuiz Fernando N. Capitulino <lcapitulino@mandriva.com.br>
Fri, 9 Feb 2007 19:10:47 +0000 (17:10 -0200)
commit921c49d670e70affaa1371de4301b8ab306b58e0
treec9ea248130c367bdca462ceb3ccfd972cb31bc9f
parentaeb9d5b558c1e2b521a6148f89eeed61acbbbb31
depmod: read_config_file() should abort on error

read_config_file() silently skips fopen()'s errors when opening
config files.

It's ok to ignore ENOENT, since config files are optional. But any
other error should be reported as usual.

Signed-off-by: Luiz Fernando N. Capitulino <lcapitulino@mandriva.com.br>
depmod.c