Skip to content

Commit

Permalink
add 'return' in child process
Browse files Browse the repository at this point in the history
  • Loading branch information
Sun Jian committed Apr 7, 2020
1 parent 178fd58 commit 19b2b65
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions library/jni/leoric.c
Original file line number Diff line number Diff line change
Expand Up @@ -226,6 +226,7 @@ Java_me_weishu_leoric_NativeLeoric_doDaemon(JNIEnv *env, jobject jobj,

do_daemon(env, jobj, indicator_self_path_child, indicator_daemon_path_child,
observer_self_path_child, observer_daemon_path_child);
return;
}

if (waitpid(pid, NULL, 0) != pid)
Expand Down

0 comments on commit 19b2b65

Please sign in to comment.