commit | 54600040ccafbb977f2b8ebd8fb67a1ab9d83ef0 | [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 | 63e7b06a4332422b6aafde6b09e18f7d314c3d93 [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>