commit | b589374aa2ec8c0da1b3e1efc4c02e9669f96df0 | [log] [tgz] |
---|---|---|
author | Mark Salyzyn <salyzyn@google.com> | Thu Sep 08 13:16:59 2016 -0700 |
committer | Mark Salyzyn <salyzyn@google.com> | Thu Nov 17 14:42:33 2016 -0800 |
tree | 7685c5e7dc990b69d1befff8c9da4e96b133f766 | |
parent | 7f63048e578f744bf2331faae3b2ae4fd3c6c71d [diff] |
logd: add EXIT command Debugging aid. Allows us to run: $ cat -n '<STUFF>\0EXIT\0' | nc -U /dev/socket/logd and the pipeline will exit once done. Without the EXIT command we will have to <CTRL+C> out to terminate the pipeline. This is necessary since Android's netcat command does not support the -q feature, and having the EXIT command is faster and cleaner anyways. Test: manual as noted above. Bug: 31456426 Change-Id: I65333358188db85e2eb1bb6a14deed1565826ac4