1
0
Fork 0
mirror of https://github.com/ossrs/srs.git synced 2025-02-15 04:42:04 +00:00

fix create dir success result check (#1080)

This commit is contained in:
xialixin 2018-03-25 17:48:07 +08:00 committed by winlin
parent aaf2905a9d
commit bb4e16ae3c

View file

@ -546,7 +546,7 @@ int srs_do_create_dir_recursively(string dir)
{
int ret = srs_do_create_dir_recursively(dir);
if (ret == ERROR_SYSTEM_DIR_EXISTS) {
if (ret == ERROR_SYSTEM_DIR_EXISTS || ret == ERROR_SUCCESS) {
return srs_success;
}