aboutsummaryrefslogtreecommitdiffstats
path: root/src/nnn.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/nnn.c')
-rw-r--r--src/nnn.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/nnn.c b/src/nnn.c
index e0edcf2..1d6fbf6 100644
--- a/src/nnn.c
+++ b/src/nnn.c
@@ -5796,7 +5796,7 @@ static bool setup_config(void)
xstrlcpy(plugindir, cfgdir, len);
DPRINTF_S(plugindir);
- if (!xmktree(cfgdir, TRUE)) {
+ if (!xmktree(plugindir, TRUE)) {
xerror();
return FALSE;
}
@@ -5808,7 +5808,7 @@ static bool setup_config(void)
xstrlcpy(sessiondir, cfgdir, len);
DPRINTF_S(sessiondir);
- if (!xmktree(cfgdir, TRUE)) {
+ if (!xmktree(sessiondir, TRUE)) {
xerror();
return FALSE;
}