From: Øyvind Harboe Date: Wed, 2 Dec 2009 11:45:12 +0000 (+0100) Subject: zy1000: keep up with startup refactoring work. X-Git-Tag: v0.4.0-rc1~234 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=d84fead487b120774e18c03664a0a361616429fc;p=openocd zy1000: keep up with startup refactoring work. keep up with server_init() introduction. Signed-off-by: Øyvind Harboe --- diff --git a/src/ecosboard.c b/src/ecosboard.c index 36e807ef..dcd497ce 100644 --- a/src/ecosboard.c +++ b/src/ecosboard.c @@ -1113,6 +1113,11 @@ int main(int argc, char *argv[]) command_run_linef(cmd_ctx, "script /rom/openocd.cfg"); + int ret; + ret = server_init(cmd_ctx); + if (ERROR_OK != ret) + return EXIT_FAILURE; + /* we MUST always run the init command as it will launch telnet sessions */ command_run_line(cmd_ctx, "init");