projects
/
oweals
/
u-boot.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
hush: make run_command() return an error on parsing failure
[oweals/u-boot.git]
/
common
/
cli_hush.c
diff --git
a/common/cli_hush.c
b/common/cli_hush.c
index a07ae717e146cffc1fd7aee850574a8323898f9c..d6439129228c6652a415d94e5c9ce410b0a9a982 100644
(file)
--- a/
common/cli_hush.c
+++ b/
common/cli_hush.c
@@
-3162,7
+3162,7
@@
static int parse_stream_outer(struct in_str *inp, int flag)
o_string temp=NULL_O_STRING;
int rcode;
#ifdef __U_BOOT__
- int code =
0
;
+ int code =
1
;
#endif
do {
ctx.type = flag;