Skip to content

Commit

Permalink
Fix CI
Browse files Browse the repository at this point in the history
  • Loading branch information
rui314 committed Oct 19, 2022
1 parent a137bc4 commit 96f7b66
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion main.cc
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@ std::string get_self_path() {
sysctl(mib, 4, path.data(), &size, NULL, 0);
return path;
#else
return std::filesystem::read_symlink("/proc/self/exe");
return std::filesystem::read_symlink("/proc/self/exe").string();
#endif
}

Expand Down

0 comments on commit 96f7b66

Please sign in to comment.