Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 1c6833af authored by Glenn Kasten's avatar Glenn Kasten
Browse files

Ignore SIGPIPE during write() to broken pipe

This happens occasionally when taking a bugreport.

Bug: 6447319
Change-Id: Ia6531a4a3658461f8fd3f7106e7996da7cc5933a
parent 96076964
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -33,6 +33,7 @@ using namespace android;

int main(int argc, char** argv)
{
    signal(SIGPIPE, SIG_IGN);
    sp<ProcessState> proc(ProcessState::self());
    sp<IServiceManager> sm = defaultServiceManager();
    ALOGI("ServiceManager: %p", sm.get());