diff options
author | Petr Štetiar <ynezz@true.cz> | 2019-11-04 20:09:30 +0100 |
---|---|---|
committer | Petr Štetiar <ynezz@true.cz> | 2019-11-14 17:11:34 +0100 |
commit | 2b549cc050de17ec2263fd97a0abc0ae3564ad6c (patch) | |
tree | 44dff582abeafee35574ac0f2f0e97a94581853a | |
parent | f5dd5217d6277739b6208771b45787cddd323576 (diff) | |
download | uci-2b549cc050de17ec2263fd97a0abc0ae3564ad6c.tar.gz |
lua: fix copy&paste in error string
When uci_set_confdir fails we should say so.
Signed-off-by: Petr Štetiar <ynezz@true.cz>
-rw-r--r-- | lua/uci.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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 savedir"); + return luaL_error(L, "Unable to set confdir"); break; default: break; |