[DRIVER] Portability fixup (#195)
This commit is contained in:
@@ -27,7 +27,8 @@ int exec(const std::string& cmd, std::string& result) {
|
|||||||
pclose(pipe);
|
pclose(pipe);
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
return WEXITSTATUS(pclose(pipe));
|
int status = pclose(pipe);
|
||||||
|
return WEXITSTATUS(status);
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user