mirror of
https://github.com/RGBCube/serenity
synced 2025-05-31 12:28:12 +00:00
UserspaceEmulator: Use only the base name for the profile name
This commit is contained in:
parent
2494ce2bab
commit
045461b7cb
1 changed files with 1 additions and 1 deletions
|
@ -56,7 +56,7 @@ int main(int argc, char** argv, char** env)
|
|||
}
|
||||
|
||||
if (dump_profile && profile_dump_path.is_empty())
|
||||
profile_dump_path = String::formatted("{}.{}.profile", executable_path, getpid());
|
||||
profile_dump_path = String::formatted("{}.{}.profile", LexicalPath(executable_path).basename(), getpid());
|
||||
|
||||
OwnPtr<OutputFileStream> profile_stream;
|
||||
if (dump_profile) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue