projects
/
project
/
uqmi.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
make uqmi_add_error return QMI_CMD_EXIT
[project/uqmi.git]
/
commands.c
diff --git
a/commands.c
b/commands.c
index
4dbdd17
..
4680511
100644
(file)
--- a/
commands.c
+++ b/
commands.c
@@
-181,9
+181,10
@@
static bool __uqmi_run_commands(struct qmi_dev *qmi, bool option)
return true;
}
-
void
uqmi_add_error(const char *msg)
+
int
uqmi_add_error(const char *msg)
{
blobmsg_add_string(&status, NULL, msg);
+ return QMI_CMD_EXIT;
}
bool uqmi_run_commands(struct qmi_dev *qmi)