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>2022-02-10 11:35:41 +0300
committerMichael Boelen <michael.boelen@cisofy.com>2022-02-10 11:35:41 +0300
commit66f93f0275a8188537934186ee5a44e5c0262f75 (patch)
tree4c967d466d7efc80713571af2024921e47ba5953
parent4ecd03598fd9c3f6bf43ff258d3c3a4634befb30 (diff)
Removed bashism: ==
-rw-r--r--include/osdetection2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/osdetection b/include/osdetection
index c91c69ec..d9b8a41c 100644
--- a/include/osdetection
+++ b/include/osdetection
@@ -678,7 +678,7 @@
ReportException "OS Detection" "Unknown OS found in /etc/os-release - Please create issue on GitHub project page: ${PROGRAM_SOURCE}"
;;
esac
- elif [ "$(uname -o 2> /dev/null)" == "illumos" ]; then
+ elif [ "$(uname -o 2> /dev/null)" = "illumos" ]; then
OPENSOLARIS=1
# Solaris has a free form text file with release information