Merge pull request #1267 from emkw/master

lua: mkdir API functions should return ERROR on error.
This commit is contained in:
Sébastien Helleu 2018-10-14 21:03:24 +02:00 committed by GitHub
commit c5ccac9e22
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -541,7 +541,7 @@ API_FUNC(mkdir_home)
if (weechat_mkdir_home (directory, mode))
API_RETURN_OK;
API_RETURN_OK;
API_RETURN_ERROR;
}
API_FUNC(mkdir)
@ -559,7 +559,7 @@ API_FUNC(mkdir)
if (weechat_mkdir (directory, mode))
API_RETURN_OK;
API_RETURN_OK;
API_RETURN_ERROR;
}
API_FUNC(mkdir_parents)
@ -577,7 +577,7 @@ API_FUNC(mkdir_parents)
if (weechat_mkdir_parents (directory, mode))
API_RETURN_OK;
API_RETURN_OK;
API_RETURN_ERROR;
}
API_FUNC(list_new)