From: Ville Syrjälä <ville.syrjala@xxxxxxxxxxxxxxx> Presumably we would want the program exit value to indicate success when things worked out. Do that. --- tools/hid2hci.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/tools/hid2hci.c b/tools/hid2hci.c index 206a5af032ae..2da7dd4ed7f8 100644 --- a/tools/hid2hci.c +++ b/tools/hid2hci.c @@ -432,6 +432,8 @@ int main(int argc, char *argv[]) if (err < 0) fprintf(stderr, "error: switching device '%s' failed.\n", udev_device_get_syspath(udev_dev)); + else + rc = 0; exit: udev_device_unref(udev_dev); udev_unref(udev); -- 2.21.0