mirror of
https://github.com/CISOfy/lynis.git
synced 2026-03-11 08:55:28 +00:00
Merge pull request #730 from Marzal/Marzal-PRIVILEGED
Fix $privileged var being overwrite
This commit is contained in:
commit
0e9e0fab36
2 changed files with 2 additions and 2 deletions
|
|
@ -219,7 +219,6 @@ unset LANG
|
|||
POSTGRES_RUNNING=0
|
||||
PREVIOUS_TEST="No test ID"
|
||||
PREVIOUS_TS=0
|
||||
PRIVILEGED=0
|
||||
PROFILES=""
|
||||
PROFILEVALUE=""
|
||||
PSBINARY="ps"
|
||||
|
|
|
|||
3
lynis
3
lynis
|
|
@ -129,7 +129,8 @@
|
|||
PRIVILEGED=1
|
||||
PENTESTINGMODE=0
|
||||
else
|
||||
# Set to pentesting mode if scan is with root privileges
|
||||
PRIVILEGED=0
|
||||
# Set to pentesting mode if scan is without root privileges
|
||||
PENTESTINGMODE=1
|
||||
fi
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue