summaryrefslogtreecommitdiffhomepage
path: root/tools/unitctl/unit-client-rs/src/unitd_process.rs
diff options
context:
space:
mode:
authorAva Hahn <a.hahn@f5.com>2024-05-03 17:52:47 -0700
committeravahahn <110854134+avahahn@users.noreply.github.com>2024-05-08 13:30:08 -0700
commitcb03d31e02741b87fc3a3aa379bf8f1849442ae2 (patch)
tree142671ad3019a029647f8d715381f81090ad692c /tools/unitctl/unit-client-rs/src/unitd_process.rs
parent787980db2e4cdc39c6195584e54661841e542a47 (diff)
downloadunit-cb03d31e02741b87fc3a3aa379bf8f1849442ae2.tar.gz
unit-cb03d31e02741b87fc3a3aa379bf8f1849442ae2.tar.bz2
tools/unitctl: Update host_path() to account for OSX special behaviour
Signed-off-by: Ava Hahn <a.hahn@f5.com>
Diffstat (limited to 'tools/unitctl/unit-client-rs/src/unitd_process.rs')
-rw-r--r--tools/unitctl/unit-client-rs/src/unitd_process.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/unitctl/unit-client-rs/src/unitd_process.rs b/tools/unitctl/unit-client-rs/src/unitd_process.rs
index 848f31bc..47ffcb5d 100644
--- a/tools/unitctl/unit-client-rs/src/unitd_process.rs
+++ b/tools/unitctl/unit-client-rs/src/unitd_process.rs
@@ -63,7 +63,7 @@ impl UnitdProcess {
.filter(|p| {
#[cfg(target_os = "linux")]
if pid_is_dockerized(p.0.as_u32().into()) {
- false
+ return false;
}
let parent_pid = p.1.parent();
match parent_pid {