Skip to content
Commit dfe34f4a authored by Michal Sekletár's avatar Michal Sekletár Committed by Zbigniew Jędrzejewski-Szmek
Browse files

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

(cherry picked from commit 77cd2c87)
parent 00f51364
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment