commit | dc046e6c5f6e35eb7dde82d1429d6499a265000f | [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 | 9c842cbcfe0d045c552441fd695663de2b3c56d5 | |
parent | 54ab20e5bb3b620e4d9b522f2c799dea655b13fc [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>