diff options
author | Michal Sekletar <msekleta@redhat.com> | 2015-06-25 16:06:40 +0200 |
---|---|---|
committer | Michal Sekletar <msekleta@redhat.com> | 2015-06-25 16:15:36 +0200 |
commit | 77cd2c87a47c49aa9063fbaa4d9077f4a381cab1 (patch) | |
tree | a9c9de0d0e7623e330c1d26a6c0429c21ae10ebd /src/login/logind.h | |
parent | 9ebdb1e057045d2b96f5980c61667cd41914177b (diff) |
install: explicitly return 0 on success
Maybe there is some left-over value stored in r from previous function
call. Let's make sure we always return consistent error code when we reach end of
the function body.
Fixes following crash of test-install,
Assertion 'r == 0' failed at src/test/test-install.c:52, function main(). Aborting.
[1] 11703 abort (core dumped) ./test-install
Diffstat (limited to 'src/login/logind.h')
0 files changed, 0 insertions, 0 deletions