From aaa374c8ed09b777cd28c9fa50a50920a6d6d4b7 Mon Sep 17 00:00:00 2001 From: Alexander Shaduri Date: Thu, 31 Oct 2024 16:21:15 +0400 Subject: [PATCH] Fix self-test status execution returning error. --- src/applib/selftest.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/applib/selftest.cpp b/src/applib/selftest.cpp index 8c57439..942e2bc 100644 --- a/src/applib/selftest.cpp +++ b/src/applib/selftest.cpp @@ -363,7 +363,7 @@ hz::ExpectedVoid SelfTest::update(const std::shared_ptr< std::vector command_options = {"--capabilities", "--log=selftest"}; if (parser_format == SmartctlOutputFormat::Json) { // --json flags: o means include original output (just in case). - command_options.emplace_back(" --json=o"); + command_options.emplace_back("--json=o"); } std::string output;