Skip to content
Snippets Groups Projects
Commit a10a9f4a authored by Recolic's avatar Recolic :house_with_garden:
Browse files

.

parent f85138a2
No related branches found
No related tags found
1 merge request!2shell_run
Pipeline #1061 passed with stage
in 1 minute and 20 seconds
...@@ -9,6 +9,7 @@ ...@@ -9,6 +9,7 @@
#include <list> #include <list>
#include <functional> #include <functional>
#include <chrono> #include <chrono>
#include <future>
#include <stdexcept> #include <stdexcept>
namespace rlib { namespace rlib {
......
...@@ -50,7 +50,7 @@ namespace rlib { ...@@ -50,7 +50,7 @@ namespace rlib {
} }
res.status = pclose(pipe); res.status = pclose(pipe);
res.status = WIFEXITED(status) ? WEXITSTATUS(status) : -errno; res.status = WIFEXITED(res.status) ? WEXITSTATUS(res.status) : -errno;
return res; return res;
} }
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment