mirror of
https://github.com/CISOfy/lynis.git
synced 2026-03-11 08:55:28 +00:00
Clarified message
This commit is contained in:
parent
0e321e1c6b
commit
9932e878b1
1 changed files with 1 additions and 1 deletions
|
|
@ -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 a new issue