projects
/
platform
/
core
/
security
/
ode.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
784cc8f
)
Add showing log only when process termination is failed
98/145698/2
accepted/tizen/unified/20170825.163334
submit/tizen/20170825.032149
author
Sungbae Yoo
<sungbae.yoo@samsung.com>
Wed, 23 Aug 2017 09:37:30 +0000
(18:37 +0900)
committer
Sungbae Yoo
<sungbae.yoo@samsung.com>
Wed, 23 Aug 2017 09:39:57 +0000
(09:39 +0000)
Signed-off-by: Sungbae Yoo <sungbae.yoo@samsung.com>
Change-Id: Id4747a6b8cbad0a8d62c90e908a763e263305c72
server/internal-encryption.cpp
patch
|
blob
|
history
diff --git
a/server/internal-encryption.cpp
b/server/internal-encryption.cpp
index
a89320c
..
ae410c5
100644
(file)
--- a/
server/internal-encryption.cpp
+++ b/
server/internal-encryption.cpp
@@
-82,7
+82,9
@@
void killDependedProcesses()
for (pid_t pid : runtime::FileUser::getList(INTERNAL_PATH, true)) {
INFO(SINK, "Close process - " + std::to_string(pid));
int ret = ::kill(pid, SIGKILL);
- INFO(SINK, "Ret - " + std::to_string(ret));
+ if (ret != 0) {
+ ERROR(SINK, "Failed to kill process " + std::to_string(pid));
+ }
}
}