Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/CISOfy/lynis.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Boelen <michael.boelen@cisofy.com>2019-12-13 14:40:29 +0300
committerMichael Boelen <michael.boelen@cisofy.com>2019-12-13 14:40:29 +0300
commitf35a08ad28568f7e80d3a7f9ceeaa8203fec82fb (patch)
treef1caaf65b12bc5a5d5d9f184aa9efe4ac221fa8f /include/functions
parent700e0823de3b470230393a09be11443a224ceba5 (diff)
Quoting should not be used when globbing
Diffstat (limited to 'include/functions')
-rw-r--r--include/functions4
1 files changed, 2 insertions, 2 deletions
diff --git a/include/functions b/include/functions
index 2094e989..de40a427 100644
--- a/include/functions
+++ b/include/functions
@@ -1290,7 +1290,7 @@
if [ -n "${STATBINARY}" ]; then
case ${OS} in
- "*BSD")
+ *BSD)
DATA=$(${STATBINARY} -f "%OLp" ${CHECKFILE})
;;
*)
@@ -1305,7 +1305,7 @@
# See if we can use the find binary
if [ -z "${DATA}" ]; then
case ${OS} in
- "AIX" | "*BSD")
+ "AIX" | *BSD)
Debug "Skipping find command, as this operating system does not support -printf parameter"
;;
*)