commit | c8fab89f1b5ae8c3752979e1a1004eda8b185687 | [log] [tgz] |
---|---|---|
author | Tao Wu <lepton@google.com> | Tue Sep 20 17:58:55 2016 -0700 |
committer | Tao Wu <lepton@google.com> | Tue Sep 20 18:15:22 2016 -0700 |
tree | 80c0735781fcae61848fbc4c21fab76c1f0eb4e8 | |
parent | 41595685482aec3ec4413c4e0bedf03c34a35a94 [diff] |
Ignore setsid error in some cases. If the calling process has already been a leading process of session. setsid just fail with EPERM, ignore such error. Test: killall adb;exec 3>f;adb fork-server server --reply-fd 3 & cat f Change-Id: I1aeac079f29e10aa63ed724b5a43663f25c25ad5 Signed-off-by: Tao Wu <lepton@google.com>