mirror of
https://gitlab.com/apparmor/apparmor.git
synced 2025-03-04 08:24:42 +01:00
![]() The test to check if the kernel supports a feature covers two cases: 1. The file/directory indicates a feature is supported. 2. The feature is supported if it's in the contents of the file. When the intended check is for case 1, and the file does not exist, then the code checks if it's case 2, but since it was not supposed to be, we end up grepping a directory, causing an error message. Fix this by checking if we're grepping a file. Signed-off-by: Georgia Garcia <georgia.garcia@canonical.com> |
||
---|---|---|
.. | ||
bin | ||
regression | ||
stress | ||
checkstyle2junit.xslt | ||
Makefile |