Skip to content

check files: skip files with whitespace names#383

Open
inqrphl wants to merge 1 commit into
mainfrom
check-files-skip-files-with-whitespace-names
Open

check files: skip files with whitespace names#383
inqrphl wants to merge 1 commit into
mainfrom
check-files-skip-files-with-whitespace-names

Conversation

@inqrphl
Copy link
Copy Markdown
Contributor

@inqrphl inqrphl commented May 28, 2026

linux allows files that have whitespaces in them. this can cause problems when the " size" perfdata is added, which could be displayed as "size" somwhere that trims the string.

detect these files and skip them

append total_size metric always, without needing to have it inside a condition.

add small comments to the code

linux allows files that have whitespaces in them. this can cause problems when the "<filename> size" perfdata is added, which may be displayed as "size" on Thruk. detect these files and skip them

append total_size metric always, without needing to have it inside a condition.

add some comments
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