bootctl: clean up get_file_version()
authorLennart Poettering <lennart@poettering.net>
Tue, 19 Jul 2016 18:46:17 +0000 (20:46 +0200)
committerLennart Poettering <lennart@poettering.net>
Thu, 21 Jul 2016 09:37:58 +0000 (11:37 +0200)
commitdb6d9faeb0179b15cf29e87bd20d29d6210142ef
tree81d0e366febd9471f8ebf5ea175014f56ff17233
parent5fa6c13c7bd6df488c0585608688a5feb8a03d5d
bootctl: clean up get_file_version()

Make sure that we always initialize the return parameter on success, and that
all errors result in an error message, not just some.
src/boot/bootctl.c