projects
/
project
/
uci.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f5dd521
)
lua: fix copy&paste in error string
author
Petr Štetiar
<ynezz@true.cz>
Mon, 4 Nov 2019 19:09:30 +0000
(20:09 +0100)
committer
Petr Štetiar
<ynezz@true.cz>
Thu, 14 Nov 2019 16:11:34 +0000
(17:11 +0100)
When uci_set_confdir fails we should say so.
Signed-off-by: Petr Štetiar <ynezz@true.cz>
lua/uci.c
patch
|
blob
|
history
diff --git
a/lua/uci.c
b/lua/uci.c
index f4dce89b7c9f2703840da7f63ab9905d2d58bddc..323f81a68c17882e33a33455603153d989f18093 100644
(file)
--- a/
lua/uci.c
+++ b/
lua/uci.c
@@
-1006,7
+1006,7
@@
uci_lua_cursor(lua_State *L)
case 1:
if (lua_isstring(L, 1) &&
(uci_set_confdir(*u, luaL_checkstring(L, 1)) != UCI_OK))
- return luaL_error(L, "Unable to set
save
dir");
+ return luaL_error(L, "Unable to set
conf
dir");
break;
default:
break;