From 291ffd263c5ee885afd1e19be5478fc0c08df4c2 Mon Sep 17 00:00:00 2001 From: flightlessmango Date: Thu, 11 Apr 2024 03:15:54 +0200 Subject: [PATCH] shell: fix spdlog error typo for writing --- src/shell.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/shell.cpp b/src/shell.cpp index 64d6acb8..d82d8c50 100644 --- a/src/shell.cpp +++ b/src/shell.cpp @@ -86,7 +86,7 @@ std::string Shell::exec(std::string cmd) { void Shell::writeCommand(const std::string& command) { if (write(to_shell[1], command.c_str(), command.length()) == -1) - SPDLOG_ERROR("Failed exit shell"); + SPDLOG_ERROR("Failed to write to shell"); } Shell::~Shell() {