summaryrefslogtreecommitdiff
path: root/internal/namespace/pinning.go
diff options
context:
space:
mode:
authorJames O'Doherty <james@theodohertyfamily.com>2026-06-04 00:21:56 -0400
committerJames O'Doherty <james@theodohertyfamily.com>2026-06-04 00:21:56 -0400
commitc53503b52b6fc6de37b6053719521054003fa50b (patch)
treeaaa6f3ff912365676261a48c39d325023d0a9c38 /internal/namespace/pinning.go
parent51a0845adba702ac02437405988b24b3b2c9fb45 (diff)
clean up debugging prints and silence successful execution output
- Remove leftover DEBUG prints from CLI and wireguard internal packages. - Silence stdout during successful command wrapping to ensure only the wrapped command's output is visible. - Redirect all warnings and internal errors to stderr. - Implement a verbose mode via `WG_WRAP_VERBOSE=1` to enable tunnel status messages. - Update E2E tests to use verbose mode for verification of tunnel lifecycle events. - Fix errcheck linting issue in wireguard.go and apply go fmt.
Diffstat (limited to 'internal/namespace/pinning.go')
-rw-r--r--internal/namespace/pinning.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/internal/namespace/pinning.go b/internal/namespace/pinning.go
index 9bf4fee..00f7c9b 100644
--- a/internal/namespace/pinning.go
+++ b/internal/namespace/pinning.go
@@ -72,7 +72,7 @@ func UnpinNamespace(pm *paths.PathManager, profile string) error {
}
// 3. Unmount and clean up blocking services.
- // Since the block files are located within the profile directory,
+ // Since the block files are located within the profile directory,
// we must unmount them before we can remove the directory.
for _, p := range GetBlockPaths() {
_ = unix.Unmount(p, unix.MNT_DETACH)