summaryrefslogtreecommitdiffstats
path: root/mtp
diff options
context:
space:
mode:
Diffstat (limited to 'mtp')
-rwxr-xr-xmtp/twrpMtp.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/mtp/twrpMtp.cpp b/mtp/twrpMtp.cpp
index e7c3f2cda..9a7df5be1 100755
--- a/mtp/twrpMtp.cpp
+++ b/mtp/twrpMtp.cpp
@@ -99,6 +99,8 @@ pid_t twrpMtp::forkserver(void) {
if (pid == 0) {
// Child process
start();
+ MTPD("MTP child process exited.\n");
+ _exit(0);
} else {
return pid;
}