git://git.jankratochvil.net
/
captive.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
3ad7638
)
Fixed 'Error parsing arguments of text line' handling
author
short
<>
Mon, 24 Mar 2003 03:15:58 +0000
(
03:15
+0000)
committer
short
<>
Mon, 24 Mar 2003 03:15:58 +0000
(
03:15
+0000)
src/client/cmdline/cmd_shell.c
patch
|
blob
|
history
diff --git
a/src/client/cmdline/cmd_shell.c
b/src/client/cmdline/cmd_shell.c
index
b9293d4
..
e4727d0
100644
(file)
--- 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 */