summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDan Albert <danalbert@google.com>2015-05-08 19:51:23 +0200
committerGerrit Code Review <noreply-gerritcodereview@google.com>2015-05-08 19:51:23 +0200
commit3128176e7d8f5cee4afdff3b5fdcadbe66ef97af (patch)
tree8cbfdd2b69ae6d36dcacaadec6f12b0f899a040c
parentMerge "Add an alternate screen for viewing recovery logs." (diff)
parentFix build following adb change. (diff)
downloadandroid_bootable_recovery-3128176e7d8f5cee4afdff3b5fdcadbe66ef97af.tar
android_bootable_recovery-3128176e7d8f5cee4afdff3b5fdcadbe66ef97af.tar.gz
android_bootable_recovery-3128176e7d8f5cee4afdff3b5fdcadbe66ef97af.tar.bz2
android_bootable_recovery-3128176e7d8f5cee4afdff3b5fdcadbe66ef97af.tar.lz
android_bootable_recovery-3128176e7d8f5cee4afdff3b5fdcadbe66ef97af.tar.xz
android_bootable_recovery-3128176e7d8f5cee4afdff3b5fdcadbe66ef97af.tar.zst
android_bootable_recovery-3128176e7d8f5cee4afdff3b5fdcadbe66ef97af.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();