From 57b5c5bad333f16f7dbbf5cb052eba9bbd77fdae Mon Sep 17 00:00:00 2001 From: b30052170 Date: Wed, 18 Sep 2024 22:07:59 +0800 Subject: [PATCH] check symlink file Signed-off-by:baozewei@huawei.com Signed-off-by: b30052170 --- services/print_service/src/print_cups_client.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/services/print_service/src/print_cups_client.cpp b/services/print_service/src/print_cups_client.cpp index 9506f31..713e9f6 100644 --- a/services/print_service/src/print_cups_client.cpp +++ b/services/print_service/src/print_cups_client.cpp @@ -274,7 +274,7 @@ void PrintCupsClient::SymlinkDirectory(const char *srcDir, const char *destDir) if (S_ISDIR(filestat.st_mode)) { SymlinkDirectory(srcFilePath.c_str(), destFilePath.c_str()); } else if (lstat(destFilePath.c_str(), &destFilestat) == 0) { - PRINT_HILOGW("symlink lstat %{public}s err: %{public}s", destFilePath.c_str(), strerror(errno)); + PRINT_HILOGD("symlink lstat %{public}s err: %{public}s", destFilePath.c_str(), strerror(errno)); if (S_ISLNK(destFilestat.st_mode)) { PRINT_HILOGW("symlink already exists, continue.");