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>2016-09-05 23:01:02 +0300
committerMichael Boelen <michael.boelen@cisofy.com>2016-09-05 23:01:02 +0300
commit737b9359aebf3a9d7aa9f947c4eb76fff772aa4f (patch)
tree1cd2fefa088ed7ab380ad7bc370a7565cdaad65b /include/tests_firewalls
parent548a8d6baea243255c0ae64bf7977501eda90550 (diff)
Renamed tr command
Diffstat (limited to 'include/tests_firewalls')
-rw-r--r--include/tests_firewalls2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/tests_firewalls b/include/tests_firewalls
index fa9a603d..dcb978ca 100644
--- a/include/tests_firewalls
+++ b/include/tests_firewalls
@@ -403,7 +403,7 @@
Register --test-no FIRE-4538 --os Linux --preqs-met ${PREQS_MET} --weight L --network NO --category security --description "Check nftables basic configuration"
if [ ${SKIPTEST} -eq 0 ]; then
# Retrieve nft version
- NFT_VERSION=$(${NFTBINARY} --version 2> /dev/null | ${AWKBINARY} '{ if ($1=="nftables") { print $2 }}' | ${TRBINARY} -d 'v')
+ NFT_VERSION=$(${NFTBINARY} --version 2> /dev/null | ${AWKBINARY} '{ if ($1=="nftables") { print $2 }}' | tr -d 'v')
Report "nft_version=${NFT_VERSION}"
LogText "Result: found version ${NFT_VERSION} of nft"
fi