Skip to content

Conversation

@taep96
Copy link

@taep96 taep96 commented Feb 11, 2026

Fixes detection when /proc/*/cmdline contains just the executable name without path separators.

The loop condition i < splitPath.length never executed when splitPath.length === 1, leaving toCompare empty. Changed to i <= splitPath.length so it runs at least once.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant