mirror of https://github.com/CISOfy/lynis.git
Only escape backslash, question mark is not needed
This commit is contained in:
parent
bc6d294b91
commit
7dfd580320
|
@ -884,7 +884,7 @@
|
|||
sFILE=$1
|
||||
CANREAD=0
|
||||
RETVAL=1
|
||||
escaped_file=$(echo ${sFILE} | sed 's/\*/\\*/; s/\?/\\?/')
|
||||
escaped_file=$(echo ${sFILE} | sed 's/\*/\\*/; s/?/\\?/')
|
||||
LogText "Test: check if we can access ${sFILE} (escaped: ${escaped_file})"
|
||||
|
||||
# Check for symlink
|
||||
|
|
Loading…
Reference in New Issue