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://review.openocd.org/gitweb?p=openocd.git;a=commitdiff_plain;h=d84fead487b120774e18c03664a0a361616429fc;hp=f4b52e1ceb2818d7a388c7aa0a3a7ab9b78f68be 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 36e807ef79..dcd497ce9e 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");