projects
/
project
/
uci.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
implement history parsing
[project/uci.git]
/
cli.c
diff --git
a/cli.c
b/cli.c
index
410d7e8
..
e17acb5
100644
(file)
--- a/
cli.c
+++ b/
cli.c
@@
-176,7
+176,10
@@
static int uci_do_set(int argc, char **argv)
uci_perror(ctx, "uci");
return 1;
}
- uci_commit(ctx, p);
+ if (uci_save(ctx, p) != UCI_OK) {
+ uci_perror(ctx, "uci");
+ return 1;
+ }
return 0;
}