projects
/
platform
/
core
/
system
/
stability-monitor.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
fba84aa
)
Fix finishing action
author
Konrad Kuchciak
<k.kuchciak@samsung.com>
Tue, 20 Aug 2019 11:15:13 +0000
(13:15 +0200)
committer
Konrad Kuchciak
<k.kuchciak@samsung.com>
Tue, 20 Aug 2019 11:15:13 +0000
(13:15 +0200)
Action should finish also when spawning crash manager fails
Change-Id: I866f32107e409140547d47edffc71ae79241d4ca
src/action.c
patch
|
blob
|
history
diff --git
a/src/action.c
b/src/action.c
index fb05b7635cf87ca34f10e8215ab86b6f932b3ff3..a3bc6e5801df2590121e370470b8126975378eec 100644
(file)
--- a/
src/action.c
+++ b/
src/action.c
@@
-204,12
+204,14
@@
static gboolean action_run(gpointer data)
if (ad->ds->process->report) {
child_pid = spawn_crash_manager(ad);
- if (child_pid != 0)
+ if (child_pid != 0)
{
g_child_watch_add(child_pid, crash_manager_exit_cb, ad);
- } else {
- action_finish(ad);
+ return FALSE;
+ }
}
+ action_finish(ad);
+
return FALSE;
}