projects
/
project
/
netifd.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
initialize dns server/search lists
[project/netifd.git]
/
proto-shell.c
diff --git
a/proto-shell.c
b/proto-shell.c
index
fc16f76
..
3582319
100644
(file)
--- a/
proto-shell.c
+++ b/
proto-shell.c
@@
-155,7
+155,7
@@
proto_shell_task_cb(struct netifd_process *p, int ret)
return;
}
- state->last_error =
ret
;
+ state->last_error =
WEXITSTATUS(ret)
;
state->proto.proto_event(&state->proto, IFPEV_LINK_LOST);
proto_shell_handler(&state->proto, PROTO_CMD_TEARDOWN, false);
}