Clarified message

This commit is contained in:
mboelen 2015-03-18 16:06:02 +01:00
parent 0e321e1c6b
commit 9932e878b1
1 changed files with 1 additions and 1 deletions

View File

@ -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