🚧 update return status

in case if smth is gone wrong
This commit is contained in:
Vladislav Nepogodin 2022-02-22 02:27:16 +04:00
parent e7cddf5f13
commit e4d170486c
No known key found for this signature in database
GPG Key ID: B62C3D10C54D5DA9

View File

@ -184,7 +184,7 @@ std::string exec(const std::string_view& command, const bool& interactive) noexc
if (!pipe) {
spdlog::error("popen failed! '{}'", command);
return "1";
return "-1";
}
std::string result{};