tools: fix return codes on failure
authorPeter Hutterer <peter.hutterer@who-t.net>
Wed, 24 May 2017 23:32:13 +0000 (09:32 +1000)
committerPeter Hutterer <peter.hutterer@who-t.net>
Fri, 26 May 2017 01:15:01 +0000 (11:15 +1000)
commitfd4427e4ec9305ad57a007858b2f37a400a1deac
treeed64b4af9c59e2edd6af761c45acfe8433db9e59
parenta2a8db261aa65dae1d657a37533b4a99d711b668
tools: fix return codes on failure

Leftovers from an earlier version where we had booleans and more function
nesting in the mix. Fix to return integers, and also rename the function name
accordingly.

Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
tools/libinput-tool.c