Skip to content

Check if kernel-img.conf exists before grep#1728

Open
kepi wants to merge 1 commit intoCISOfy:masterfrom
kepi:fix/kernel-img-check
Open

Check if kernel-img.conf exists before grep#1728
kepi wants to merge 1 commit intoCISOfy:masterfrom
kepi:fix/kernel-img-check

Conversation

@kepi
Copy link
Copy Markdown
Contributor

@kepi kepi commented Mar 14, 2026

In containers, there is often no kernel-img.conf to check.

This is just cosmetic fix so logs are not poluted with:

/usr/bin/grep: /etc/kernel-img.conf: No such file or directory

In containers, there is often no kernel-img.conf to check.

This is just cosmetic fix so logs are not poluted with:

    /usr/bin/grep: /etc/kernel-img.conf: No such file or directory
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