Skip to content

Commit

Permalink
Update cwd.ipp
Browse files Browse the repository at this point in the history
  • Loading branch information
time-killer-games authored and klemens-morgenstern committed Jun 4, 2024
1 parent fbcefa5 commit 6741011
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion include/boost/process/v2/ext/impl/cwd.ipp
Original file line number Diff line number Diff line change
Expand Up @@ -159,7 +159,8 @@ filesystem::path cwd(boost::process::v2::pid_type pid, boost::system::error_code
{
std::vector<char> vecbuff;
vecbuff.resize(len);
if (sysctl(mib, sz, &vecbuff[0], &len, nullptr, 0) == 0) {
if (sysctl(mib, sz, &vecbuff[0], &len, nullptr, 0) == 0)
{
path = filesystem::canonical(&vecbuff[0], ec);
}
else
Expand Down

0 comments on commit 6741011

Please sign in to comment.