diff --git a/build-linux.sh b/build-linux.sh index b03ad90..00fee59 100755 --- a/build-linux.sh +++ b/build-linux.sh @@ -507,12 +507,6 @@ xtchain_build() # Exit immediately on any failure set -e -# Check if script launched as root -if [ "$(whoami)" = "root" ]; then - echo "This script cannot be run as root!" - exit 1 -fi - # Check number of CPU cores available : ${CORES:=$(sysctl -n hw.ncpu 2>/dev/null)} : ${CORES:=$(nproc 2>/dev/null)}