mirror of
https://gitee.com/openharmony/print_print_fwk
synced 2025-02-18 17:27:37 +00:00
check symlink file Signed-off-by:baozewei@huawei.com
Signed-off-by: b30052170 <baozewei@huawei.com>
This commit is contained in:
parent
57b5c5bad3
commit
1c9480b9b2
@ -283,6 +283,7 @@ void PrintCupsClient::SymlinkDirectory(const char *srcDir, const char *destDir)
|
||||
if (std::remove(destFilePath.c_str()) != 0) {
|
||||
PRINT_HILOGE("error deleting file %{public}s err: %{public}s",
|
||||
destFilePath.c_str(), strerror(errno));
|
||||
continue;
|
||||
} else {
|
||||
PRINT_HILOGW("file successfully deleted");
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user