diff options
author | takase1121 <20792268+takase1121@users.noreply.github.com> | 2024-12-03 22:17:56 +0800 |
---|---|---|
committer | takase1121 <20792268+takase1121@users.noreply.github.com> | 2024-12-03 22:17:56 +0800 |
commit | de9ec6ceeaec8d10e072ae679b02182e13a743c4 (patch) | |
tree | 3b037de2bb2270148dc5a4abae5666b3930a2902 | |
parent | f56a2fa93d726d9251b92f9ed083e0c7b2af9ab4 (diff) | |
download | lite-xl-plugin-manager-de9ec6ceeaec8d10e072ae679b02182e13a743c4.tar.gz lite-xl-plugin-manager-de9ec6ceeaec8d10e072ae679b02182e13a743c4.zip |
lpm.c: fix mkdirp failing prematurely
-rw-r--r-- | src/lpm.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -876,8 +876,8 @@ static int mkdirp(lua_State* L, char* path, int len) { lua_pop(L, 1); #else if (mkdir(path, S_IRUSR|S_IWUSR|S_IXUSR|S_IRGRP|S_IXGRP|S_IROTH|S_IXOTH) && errno != EEXIST) - #endif return -1; + #endif path[i] = '/'; } } |