mirror of https://github.com/CISOfy/lynis.git
Clarified message
This commit is contained in:
parent
0e321e1c6b
commit
9932e878b1
|
@ -1172,7 +1172,7 @@
|
|||
OWNERID=`ls -n $1 | awk -F" " '{ print $3 }'`
|
||||
if [ ${PENTESTINGMODE} -eq 0 -a "${IS_PARAMETERS_FILE}" = "" ]; then
|
||||
if [ ! "${OWNER}" = "root" -a ! "${OWNERID}" = "0" ]; then
|
||||
echo "Fatal error: file $1 should be owned by user 'root' or similar (found: ${OWNER})."
|
||||
echo "Fatal error: file $1 should be owned by user 'root' when running it as root (found: ${OWNER})."
|
||||
ExitFatal
|
||||
fi
|
||||
else
|
||||
|
|
Loading…
Reference in New Issue