diff options
Diffstat (limited to 'internal/namespace/lifecycle.go')
| -rw-r--r-- | internal/namespace/lifecycle.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/internal/namespace/lifecycle.go b/internal/namespace/lifecycle.go index 3bd1753..5f729d3 100644 --- a/internal/namespace/lifecycle.go +++ b/internal/namespace/lifecycle.go @@ -168,7 +168,7 @@ func IsLastProcess(pm *paths.PathManager, profile string) (bool, error) { } } - return activeCount <= 1, nil + return activeCount == 0, nil } // SetControllerPid records the current process as the owner of the namespace. |
