summaryrefslogtreecommitdiffstats
path: root/service/system/logger_service/server/src/ss_logger_util.cpp
diff options
context:
space:
mode:
authorTadao Tanikawa <tanikawa.tadao@jp.panasonic.com>2020-11-22 01:54:33 +0000
committerTadao Tanikawa <tanikawa.tadao@jp.panasonic.com>2020-11-23 13:54:59 +0000
commit761d3a409fb8ddb3e01e1eded4aaab17bb4a155f (patch)
tree6797033ec08f907699824c2662a9bfd36f616be8 /service/system/logger_service/server/src/ss_logger_util.cpp
parent23d40b490b2e6735d70d413e6a147d78b1898c8b (diff)
Fix path to various non-standard directories
Fix path to non-standard directories, - /nv to /var/local/lib/basesystem/nv - /ramd to /var/local/lib/basesystem/ramd - /tool_9E_SI to /etc/basesystem - /usr/target to /etc/basesystem/target Signed-off-by: Tadao Tanikawa <tanikawa.tadao@jp.panasonic.com> Change-Id: I42a54624230cb0ec0271f8cdbacb0b178c9f3e8e
Diffstat (limited to 'service/system/logger_service/server/src/ss_logger_util.cpp')
-rwxr-xr-xservice/system/logger_service/server/src/ss_logger_util.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/service/system/logger_service/server/src/ss_logger_util.cpp b/service/system/logger_service/server/src/ss_logger_util.cpp
index 6ac7225..0de6022 100755
--- a/service/system/logger_service/server/src/ss_logger_util.cpp
+++ b/service/system/logger_service/server/src/ss_logger_util.cpp
@@ -1019,8 +1019,8 @@ EFrameworkunifiedStatus CLoggerUtil::CopyUntyped(std::string f_source,
} else if (0 != S_ISDIR(l_stat.st_mode)) {
l_eStatus = CopyDirectory(f_source, f_destination);
} else if (0 != S_ISLNK(l_stat.st_mode)) {
- // avoid duplicate copy for eErrorEventTypeInterfaceunifiedEmmcLogs: /nv/log/awlog -> /nv/BS/ss/logger_service/rwdata/log2/awlog
- if (f_source.find("/nv/BS/ss/logger_service/rwdata/awlog") == std::string::npos) {
+ // avoid duplicate copy for eErrorEventTypeInterfaceunifiedEmmcLogs: /var/local/lib/basesystem/nv/log/awlog -> /nv/BS/ss/logger_service/rwdata/log2/awlog
+ if (f_source.find("/var/local/lib/basesystem/nv/BS/ss/logger_service/rwdata/awlog") == std::string::npos) {
l_eStatus = CopyDirectory(f_source, f_destination);
}
} else if (0 != S_ISREG(l_stat.st_mode)) {