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-01-31 16:27:36 +0300
committerMichael Boelen <michael.boelen@cisofy.com>2019-01-31 16:27:36 +0300
commit41d5d61a16491c20232491a51305aad8898d8574 (patch)
treec778efa3c537538a480b46031cc9a840439b8e5c
parentbca2d00ad79cef58b8143ca4bd53bd7a5d9c8780 (diff)
Removed non-compatible code (eg AIX)
-rw-r--r--include/functions6
1 files changed, 3 insertions, 3 deletions
diff --git a/include/functions b/include/functions
index f94b0811..f37f5f38 100644
--- a/include/functions
+++ b/include/functions
@@ -496,11 +496,11 @@
INDENT=$1
;;
--result)
- shift $(( $# > 0 ? 1 : 0 ))
+ shift
RESULT=$1
;;
--text)
- shift $(( $# > 0 ? 1 : 0 ))
+ shift
TEXT=$1
;;
*)
@@ -509,7 +509,7 @@
;;
esac
# Go to next parameter
- shift $(( $# > 0 ? 1 : 0 ))
+ shift
done
if [ -z "${RESULT}" ]; then