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:
Diffstat (limited to 'include/parameters')
-rw-r--r--include/parameters2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/parameters b/include/parameters
index 878fa63f..1b095fab 100644
--- a/include/parameters
+++ b/include/parameters
@@ -287,7 +287,7 @@
--plugindir | --plugin-dir | --plugins-dir)
shift
PLUGINDIR=$1
- LASTCHAR=`echo $1 | awk '{ print substr($0, length($0))}'`
+ LASTCHAR=$(echo $1 | awk '{ print substr($0, length($0))}')
if [ "${LASTCHAR}" = "/" ]; then
echo "${RED}Error:${WHITE} plugin directory path should not end with a slash${NORMAL}"
ExitCustom 65