diff options
author | Clement Tsang <34804052+ClementTsang@users.noreply.github.com> | 2020-09-30 22:53:54 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-09-30 22:53:54 -0400 |
commit | 5b33e8d6b4b28c6a64e017bc137bd4897cf9cb74 (patch) | |
tree | 8d0aa970879784f38e4c5724f6101e2a1109302c /src/app | |
parent | 9afb6d7c88ca515ecd8d37134b567b6d17e0f0fb (diff) |
Use tmp_dir rather than /tmp/ (#260)
Uses a less hard-coded method of writing to /tmp/.
Diffstat (limited to 'src/app')
-rw-r--r-- | src/app/data_harvester/processes.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/app/data_harvester/processes.rs b/src/app/data_harvester/processes.rs index f290d957..64988338 100644 --- a/src/app/data_harvester/processes.rs +++ b/src/app/data_harvester/processes.rs @@ -262,7 +262,7 @@ fn read_proc<S: core::hash::BuildHasher>( .ok_or(BottomError::MinorError)? .to_string(); let command = { - let cmd = read_path_contents(&pid_stat.proc_cmdline_path)?; + let cmd = read_path_contents(&pid_stat.proc_cmdline_path)?; // FIXME: [PROC] Use full proc name all the time if cmd.trim().is_empty() { format!("[{}]", name) } else { |