commit | 8613dc027826b0e6e7a368a600ecf3c9899704d3 | [log] [tgz] |
---|---|---|
author | Ethan Yonker <dees_troy@teamw.in> | Thu Sep 11 09:28:20 2014 -0500 |
committer | Ethan Yonker <dees_troy@teamw.in> | Thu Sep 11 09:28:20 2014 -0500 |
tree | 1e866dfd28043029b983d7d97f64a683b52f00ae | |
parent | a1f38054c7eb48b03a55d1559190637238d88fe1 [diff] |
Fix handling of MTP fork/child process Change-Id: Iacd8a38d21e9c8b0dfafefbeb646f46cd3ba02a1
diff --git a/mtp/twrpMtp.cpp b/mtp/twrpMtp.cpp index e7c3f2c..9a7df5b 100755 --- a/mtp/twrpMtp.cpp +++ b/mtp/twrpMtp.cpp
@@ -99,6 +99,8 @@ if (pid == 0) { // Child process start(); + MTPD("MTP child process exited.\n"); + _exit(0); } else { return pid; }