update services/storage_daemon/utils/file_utils.cpp.

Signed-off-by: sunxiaoqiang <sunxiaoqiang7@huawei.com>
This commit is contained in:
sunxiaoqiang 2024-11-14 03:28:39 +00:00 committed by Gitee
parent 72fbdcba18
commit 7a07b2d834
No known key found for this signature in database
GPG Key ID: 173E9B9CA92EEF8F

View File

@ -461,10 +461,6 @@ int ForkExec(std::vector<std::string> &cmd, std::vector<std::string> *output)
LOGE("Process exits abnormally");
return E_ERR;
}
if (!WEXITSTATUS(status)) {
LOGE("Process exited with an error");
return E_ERR;
}
}
return E_OK;
}