diff --git a/interfaces/kits/js/src/mod_fs/properties/rmdir_core.cpp b/interfaces/kits/js/src/mod_fs/properties/rmdir_core.cpp index fd37c3be883a23807d096f8d438d30c08f80fd46..fe532db4a665d81f988f8ace1d852194c030085d 100644 --- a/interfaces/kits/js/src/mod_fs/properties/rmdir_core.cpp +++ b/interfaces/kits/js/src/mod_fs/properties/rmdir_core.cpp @@ -49,6 +49,7 @@ static int32_t RmDirent(const string &fpath) HILOGE("fs exists fail, error code: %{public}d", errCode.value()); return errCode.value(); } + return ERRNO_NOERR; }