Project

General

Profile

« Previous | Next » 

Revision 92267765

Added by Benoît PECCATTE about 7 years ago

Fixes #9684: Warn the user if rudder agent is not run as root

View differences:

bin/rudder
exit 0
fi
# Test if we are root
if [ "$(id -u)" != "0" ]
then
echo "WARNING: Not running as root, this may cause problem"
fi
# OK GO !
exec "${BASEDIR}/${role}-${command}" "$@"

Also available in: Unified diff