packages/utils/mbtools/patches/100-fix-unit-test-server-return-value.patch
Ilya Lipnitskiy b1cbd93bcd
treewide: Run refresh on all packages
The crude loop I wrote to come up with this changeset:

  find -L package/feeds/packages/ -name patches | \
  sed 's/patches$/refresh/' | sort | xargs make

Signed-off-by: Ilya Lipnitskiy <ilya.lipnitskiy@gmail.com>
(cherry picked from commit 5d8d4fbbcb)
Signed-off-by: Jeffery To <jeffery.to@gmail.com>
2021-02-25 01:26:05 +08:00

8 lines
224 B
Diff

--- a/tests/unit-test-server.c
+++ b/tests/unit-test-server.c
@@ -117,4 +117,5 @@ int main(int argc, char *argv[])
}
printf("Quit the loop: %s\n", modbus_strerror(errno));
signal_handler(0);
+ return 0;
}