mirror of https://github.com/CISOfy/lynis.git
Only set new plugin directory if not set before
This commit is contained in:
parent
37a2614f79
commit
28bc866686
|
@ -144,7 +144,11 @@
|
|||
|
||||
# Plugin directory
|
||||
plugindir)
|
||||
PLUGINDIR="${VALUE}"
|
||||
if [ "${PLUGINDIR}" = "" ]; then
|
||||
PLUGINDIR="${VALUE}"
|
||||
else
|
||||
LogText "Plugin directory was already set to ${PLUGINDIR} before (most likely as a program argument), not overwriting"
|
||||
fi
|
||||
;;
|
||||
|
||||
# Profile name
|
||||
|
|
Loading…
Reference in New Issue