Skip to content

Commit 6e42604

Browse files
committed
cli BUGFIX new ctx searchdir
1 parent 676ece9 commit 6e42604

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

cli/configuration.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -267,7 +267,7 @@ load_config(void)
267267
goto cleanup;
268268
}
269269

270-
if (ly_ctx_new(NULL, 0, &ctx)) {
270+
if (ly_ctx_new(ly_yang_module_dir(), 0, &ctx)) {
271271
ERROR(__func__, "Failed to create context.");
272272
ERROR(__func__, "Unable to load configuration due to the previous error.");
273273
goto cleanup;

0 commit comments

Comments
 (0)