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:
-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