summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDan Albert <danalbert@google.com>2015-05-08 20:27:40 +0200
committerAndroid Git Automerger <android-git-automerger@android.com>2015-05-08 20:27:40 +0200
commite82033a897b0c27671e292155a3b7eb6b4c79a40 (patch)
tree8cbfdd2b69ae6d36dcacaadec6f12b0f899a040c
parentam 81ad2bf8: am 3257155e: am 77a2c883: Merge "Add an alternate screen for viewing recovery logs." (diff)
parentam cfe46542: am 3128176e: Merge "Fix build following adb change." (diff)
downloadandroid_bootable_recovery-e82033a897b0c27671e292155a3b7eb6b4c79a40.tar
android_bootable_recovery-e82033a897b0c27671e292155a3b7eb6b4c79a40.tar.gz
android_bootable_recovery-e82033a897b0c27671e292155a3b7eb6b4c79a40.tar.bz2
android_bootable_recovery-e82033a897b0c27671e292155a3b7eb6b4c79a40.tar.lz
android_bootable_recovery-e82033a897b0c27671e292155a3b7eb6b4c79a40.tar.xz
android_bootable_recovery-e82033a897b0c27671e292155a3b7eb6b4c79a40.tar.zst
android_bootable_recovery-e82033a897b0c27671e292155a3b7eb6b4c79a40.zip
-rw-r--r--minadbd/adb_main.cpp6
1 files changed, 1 insertions, 5 deletions
diff --git a/minadbd/adb_main.cpp b/minadbd/adb_main.cpp
index f6e240108..0e65386c4 100644
--- a/minadbd/adb_main.cpp
+++ b/minadbd/adb_main.cpp
@@ -26,13 +26,9 @@
#include "adb.h"
#include "transport.h"
-int adb_main(int is_daemon, int server_port)
-{
- atexit(usb_cleanup);
-
+int adb_main(int is_daemon, int server_port) {
adb_device_banner = "sideload";
- // No SIGCHLD. Let the service subproc handle its children.
signal(SIGPIPE, SIG_IGN);
init_transport_registration();