mirror of
https://github.com/trapexit/mergerfs.git
synced 2026-11-25 17:36:25 -05:00
Fixup debug output (#1617)
This commit is contained in:
parent
be4d388813
commit
3222de6c9c
17 changed files with 1451 additions and 630 deletions
|
|
@ -172,6 +172,12 @@ _lshw(const std::string &output_)
|
|||
::_run({"lshw"},output_);
|
||||
}
|
||||
|
||||
static
|
||||
void
|
||||
_journalctl(const std::string &output_)
|
||||
{
|
||||
::_run({"journalctl","-t","mergerfs","--since","60 minutes ago"},output_);
|
||||
}
|
||||
|
||||
int
|
||||
mergerfs::collect_info::main(int argc_,
|
||||
|
|
@ -208,6 +214,7 @@ mergerfs::collect_info::main(int argc_,
|
|||
::_fstab(output_filepath);
|
||||
::_software_versions(output_filepath);
|
||||
::_lshw(output_filepath);
|
||||
::_journalctl(output_filepath);
|
||||
|
||||
fmt::print("* Upload the following file to your"
|
||||
" GitHub ticket or put on https://pastebin.com"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue