diff --git a/update_depot_tools b/update_depot_tools index a98e0ff89..b4e6089bb 100755 --- a/update_depot_tools +++ b/update_depot_tools @@ -5,6 +5,12 @@ # This script will try to sync the bootstrap directories and then defer control. +if [ "$USER" == "root" ]; +then + echo Running depot tools as root is sad. + exit +fi + base_dir=$(dirname "$0") if [ -L "$base_dir" ] then