mirror of
https://github.com/varun-r-mallya/sysprof.git
synced 2025-12-31 20:36:25 +00:00
tools/sysprof-agent: set cwd to . unless --directory specified
This commit is contained in:
@ -541,6 +541,8 @@ main (int argc,
|
||||
|
||||
if (directory != NULL)
|
||||
sysprof_profiler_set_spawn_cwd (profiler, directory);
|
||||
else
|
||||
sysprof_profiler_set_spawn_cwd (profiler, ".");
|
||||
}
|
||||
|
||||
/* Now open the writer for our session */
|
||||
|
||||
Reference in New Issue
Block a user