osaf/services/saf/immsv/immnd/immnd_proc.c | 12 ++++++++++--
1 files changed, 10 insertions(+), 2 deletions(-)
diff --git a/osaf/services/saf/immsv/immnd/immnd_proc.c
b/osaf/services/saf/immsv/immnd/immnd_proc.c
--- a/osaf/services/saf/immsv/immnd/immnd_proc.c
+++ b/osaf/services/saf/immsv/immnd/immnd_proc.c
@@ -1760,7 +1760,11 @@ uint32_t immnd_proc_server(uint32_t *tim
if (cb->pbePid > 0) {
int status = 0;
if (waitpid(cb->pbePid, &status, WNOHANG) > 0) {
- LOG_WA("Persistent back-end process has
apparently died.");
+ if(cb->mRim == SA_IMM_KEEP_REPOSITORY) {
+ LOG_WA("Persistent back-end
process has apparently died.");
+ } else {
+ LOG_NO("Persistent back-end
process terminated.");
+ }
cb->pbePid = 0;
cb->mPbeKills = 0;
if(!immModel_pbeIsInSync(cb, false)) {
@@ -1839,7 +1843,11 @@ uint32_t immnd_proc_server(uint32_t *tim
if (cb->pbePid > 0) {
int status = 0;
if (waitpid(cb->pbePid, &status, WNOHANG) > 0) {
- LOG_WA("Persistent back-end process has
apparently died.");
+ if(cb->mRim == SA_IMM_KEEP_REPOSITORY) {
+ LOG_WA("Persistent back-end process has
apparently died.");
+ } else {
+ LOG_NO("Persistent back-end process
terminated.");
+ }
cb->pbePid = 0;
cb->mPbeKills = 0;
if(!immModel_pbeIsInSync(cb, false)) {
------------------------------------------------------------------------------
Android apps run on BlackBerry 10
Introducing the new BlackBerry 10.2.1 Runtime for Android apps.
Now with support for Jelly Bean, Bluetooth, Mapview and more.
Get your Android app in front of a whole new audience. Start now.
http://pubads.g.doubleclick.net/gampad/clk?id=124407151&iu=/4140/ostg.clktrk
_______________________________________________
Opensaf-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/opensaf-devel