From: Michal Sekletar Date: Thu, 25 Jun 2015 14:06:40 +0000 (+0200) Subject: install: explicitly return 0 on success X-Git-Tag: v226.4~1^2~245 X-Git-Url: https://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?p=elogind.git;a=commitdiff_plain;h=9481673651515ab231e64e3c0417b75a804f476e;hp=9481673651515ab231e64e3c0417b75a804f476e 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 ---