mirror of
https://github.com/CISOfy/lynis.git
synced 2025-07-26 23:34:25 +02:00
Added developer-mode option for profiles
This commit is contained in:
parent
55799a524c
commit
812a0ea270
@ -99,6 +99,12 @@
|
|||||||
fi
|
fi
|
||||||
;;
|
;;
|
||||||
|
|
||||||
|
# Development mode (--developer)
|
||||||
|
developer-mode)
|
||||||
|
FIND=`echo "${VALUE}" | egrep "^(1|true|yes)"` && DEVELOPER_MODE=1
|
||||||
|
Debug "Developer mode set to ${DEVELOPER_MODE}"
|
||||||
|
;;
|
||||||
|
|
||||||
# Show non-zero exit code when errors are found
|
# Show non-zero exit code when errors are found
|
||||||
error-on-warnings)
|
error-on-warnings)
|
||||||
if [ "${VALUE}" = "yes" -o "${VALUE}" = "true" -o ${VALUE} = "1" ]; then
|
if [ "${VALUE}" = "yes" -o "${VALUE}" = "true" -o ${VALUE} = "1" ]; then
|
||||||
|
Loading…
x
Reference in New Issue
Block a user