Skip to content

Commit

Permalink
Separate pid and timestamp with underscore
Browse files Browse the repository at this point in the history
Co-authored-by: Paul Woegerer <olpaw@users.noreply.github.com>
  • Loading branch information
dnestoro and olpaw authored Nov 5, 2024
1 parent 2ab0647 commit 3ae135b
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -165,7 +165,7 @@ private void addDefaultAccessFilter() {

long pid = ProcessHandle.current().pid();
long time = System.currentTimeMillis();
Path tmpAccessFilter = agentDir.resolve(ACCESS_FILTER_PREFIX + pid + time + ACCESS_FILTER_SUFFIX);
Path tmpAccessFilter = agentDir.resolve(ACCESS_FILTER_PREFIX + '_' + pid + '_' + time + '_' + ACCESS_FILTER_SUFFIX);
Files.copy(accessFilterData, tmpAccessFilter);

try {
Expand Down

0 comments on commit 3ae135b

Please sign in to comment.