summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDan Albert <danalbert@google.com>2015-05-08 19:39:33 +0200
committerDan Albert <danalbert@google.com>2015-05-08 19:50:54 +0200
commitcc08a90cab4b8e1a039ce96ff6d0124cd2c8824a (patch)
tree8cbfdd2b69ae6d36dcacaadec6f12b0f899a040c
parentMerge "Add an alternate screen for viewing recovery logs." (diff)
downloadandroid_bootable_recovery-cc08a90cab4b8e1a039ce96ff6d0124cd2c8824a.tar
android_bootable_recovery-cc08a90cab4b8e1a039ce96ff6d0124cd2c8824a.tar.gz
android_bootable_recovery-cc08a90cab4b8e1a039ce96ff6d0124cd2c8824a.tar.bz2
android_bootable_recovery-cc08a90cab4b8e1a039ce96ff6d0124cd2c8824a.tar.lz
android_bootable_recovery-cc08a90cab4b8e1a039ce96ff6d0124cd2c8824a.tar.xz
android_bootable_recovery-cc08a90cab4b8e1a039ce96ff6d0124cd2c8824a.tar.zst
android_bootable_recovery-cc08a90cab4b8e1a039ce96ff6d0124cd2c8824a.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();