don't need the condition anymore

master
Daniel Kolesa 2017-05-28 16:32:09 +02:00
parent f605ea59bf
commit f8508c112c
1 changed files with 1 additions and 1 deletions

View File

@ -309,7 +309,7 @@ OSTD_EXPORT int subprocess::close() {
return retc;
} else if (r != sizeof(int)) {
throw subprocess_error{"could not read from pipe"};
} else if (r == sizeof(int)) {
} else {
auto ec = std::system_category().default_error_condition(eno);
auto app = appender<std::string>();
format(app, "could not execute subprocess (%s)", ec.message());