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:
authormboelen <michael@cisofy.com>2015-03-19 02:03:58 +0300
committermboelen <michael@cisofy.com>2015-03-19 02:03:58 +0300
commitbdf83471628661b564e86f1f96340a110ec8458c (patch)
tree5d3eb4616e61f6d6b7f80d3a03ecf20aafe1a640
parenta6ef89aa6343a6cb0e481e66dab8bc49cc2ae34d (diff)
Don't require sha1sum AND openssl AND csum, but just one of them to exist
-rw-r--r--include/functions2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/functions b/include/functions
index e2c14444..7e22e218 100644
--- a/include/functions
+++ b/include/functions
@@ -350,7 +350,7 @@
{
HOSTID="-"
FIND=""
- if [ ! "${SHA1SUMBINARY}" = "" -a ! "${OPENSSLBINARY}" = "" -a ! "${CSUMBINARY}" = "" ]; then
+ if [ ! "${SHA1SUMBINARY}" = "" -o ! "${OPENSSLBINARY}" = "" -o ! "${CSUMBINARY}" = "" ]; then
case "${OS}" in