Skip to content

main: ignore command exclusions in failed-search checks - #422

Merged
jiegec merged 1 commit into
lsof-org:masterfrom
hja-oss:fix/command-exclusion-exit-status
Nov 29, 2026
Merged

jiegec merged 1 commit into
lsof-org:masterfrom
hja-oss:fix/command-exclusion-exit-status

Conversation

@hja-oss

@hja-oss hja-oss commented Nov 29, 2026

Copy link
Copy Markdown
Contributor

Command exclusions such as -c '^sleep' incorrectly cause successful searches to return status 1 and produce “command not located” messages with -V.

Skip excluded commands when checking for unmatched search targets, consistent with PID and UID exclusions.

@jiegec
jiegec force-pushed the fix/command-exclusion-exit-status branch from ab8aa32 to be7dff3 Compare November 29, 2026 10:16
@jiegec
jiegec merged commit cbf8e27 into lsof-org:master Nov 29, 2026
29 checks passed
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.

2 participants