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:
parent
aaf2905a9d
commit
bb4e16ae3c
1 changed files with 1 additions and 1 deletions
|
@ -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;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue