mirror of
https://github.com/CISOfy/lynis.git
synced 2026-03-11 08:55:28 +00:00
Only escape backslash, question mark is not needed
This commit is contained in:
parent
bc6d294b91
commit
7dfd580320
1 changed files with 1 additions and 1 deletions
|
|
@ -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 a new issue