[crashlog] Strip trailing `\n` from check_output return.
authorDavide Italiano <davide@freebsd.org>
Thu, 18 Apr 2019 21:32:36 +0000 (21:32 +0000)
committerDavide Italiano <davide@freebsd.org>
Thu, 18 Apr 2019 21:32:36 +0000 (21:32 +0000)
commit085626a873e077da7838342dd6ec93ef4c64b7b3
treeb466e86b7e8cabf93d6d4f74a5f75a18b059c75f
parentfac7875704b46f77e5a8b2871216e01b9b357401
[crashlog] Strip trailing `\n` from check_output return.

Generally having spurious `\n` doesn't matter, but here the
returning string is a command which is executed, so  we want
to strip it. Pointed out by Jason.

llvm-svn: 358717
lldb/examples/python/crashlog.py