From dded5b0e4e3c9b265335dd993bd398a9f9512ba6 Mon Sep 17 00:00:00 2001 From: short <> Date: Mon, 24 Mar 2003 03:15:58 +0000 Subject: [PATCH] Fixed 'Error parsing arguments of text line' handling --- src/client/cmdline/cmd_shell.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/src/client/cmdline/cmd_shell.c b/src/client/cmdline/cmd_shell.c index b9293d4..e4727d0 100644 --- a/src/client/cmdline/cmd_shell.c +++ b/src/client/cmdline/cmd_shell.c @@ -111,8 +111,9 @@ gchar *prompt; if (errint!=0) { free(line_argv); g_set_error(errp,CMDLINE_CMD_SHELL_ERROR,CMDLINE_CMD_SHELL_ERROR_LINE_PARSE_ARGUMENTS, - _("Error parsing arguments of text line: %s"),line); - return; + _("Error '%s' parsing arguments of text line: %s"),poptStrerror(errint),line); + err_cleanup(errp); + continue; } invoke_cmd(line_argc,line_argv); /* errors catched inside */ -- 1.8.3.1