mirror of
https://dev.iopsys.eu/bbf/bbfdm.git
synced 2025-12-10 07:44:39 +01:00
bbfdm cli: commit/revert dmmap changes while calling get method
This commit is contained in:
parent
003490a28c
commit
ec1fe4c5ad
1 changed files with 2 additions and 0 deletions
|
|
@ -273,8 +273,10 @@ static int in_dotso_out_cli_exec_get(cli_data_t *cli_data, char *argv[])
|
|||
list_for_each_entry(n, &cli_data->bbf_ctx.list_parameter, list) {
|
||||
printf("%s => %s\n", n->name, n->data);
|
||||
}
|
||||
dmuci_commit_bbfdm();
|
||||
} else {
|
||||
printf("ERROR: %d retrieving %s\n", err, cli_data->bbf_ctx.in_param);
|
||||
dmuci_revert_bbfdm();
|
||||
err = EXIT_FAILURE;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue