mirror of https://github.com/CISOfy/lynis.git
Quote file name as it may include spaces
This commit is contained in:
parent
c97dc3044a
commit
83d510934d
|
@ -37,7 +37,7 @@
|
|||
FIND=$(${EGREPBINARY} '^permfile=|^permdir=' ${PROFILE} | ${CUTBINARY} -d= -f2)
|
||||
for I in ${FIND}; do
|
||||
LogText "Checking ${I}"
|
||||
CheckFilePermissions ${I}
|
||||
CheckFilePermissions "${I}"
|
||||
LogText " Expected permissions: ${PROFILEVALUE}"
|
||||
LogText " Actual permissions: ${FILEVALUE}"
|
||||
LogText " Result: $PERMS"
|
||||
|
|
Loading…
Reference in New Issue