mirror of
https://github.com/CISOfy/lynis.git
synced 2025-04-08 17:15:25 +02:00
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…
x
Reference in New Issue
Block a user