summaryrefslogtreecommitdiff
path: root/storaged/main.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'storaged/main.cpp')
-rw-r--r--storaged/main.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/storaged/main.cpp b/storaged/main.cpp
index a7bda1492..bbed210de 100644
--- a/storaged/main.cpp
+++ b/storaged/main.cpp
@@ -71,6 +71,7 @@ int main(int argc, char** argv) {
bool flag_dump_perf = false;
int opt;
+ signal(SIGPIPE, SIG_IGN);
android::base::InitLogging(argv, android::base::LogdLogger(android::base::SYSTEM));
for (;;) {