Skip to content

Commit

Permalink
Merge pull request #1000 from jphickey/fix-999-rmdir-rc
Browse files Browse the repository at this point in the history
Fix #999, propagate status code in OS_rmdir
  • Loading branch information
astrogeco authored May 12, 2021
2 parents ad0b5db + 9e85ba9 commit b8ef55c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/os/shared/src/osapi-dir.c
Original file line number Diff line number Diff line change
Expand Up @@ -248,7 +248,7 @@ int32 OS_rmdir(const char *path)
return_code = OS_TranslatePath(path, local_path);
if (return_code == OS_SUCCESS)
{
OS_DirRemove_Impl(local_path);
return_code = OS_DirRemove_Impl(local_path);
}

return return_code;
Expand Down

0 comments on commit b8ef55c

Please sign in to comment.