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 May 22, 2024
1 parent e16bb99 commit 7eb26d6
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 7eb26d6

Please sign in to comment.