diff --git a/xbps-src b/xbps-src index 291b9811234..84ca53e13db 100755 --- a/xbps-src +++ b/xbps-src @@ -468,11 +468,6 @@ XBPS_TARGET_PKG="${2##*/}" # Check if stdout is a tty; if false disable colors. test -t 1 || export NOCOLORS=1 -if [ "$(id -u)" -eq 0 ]; then - echo "ERROR: root cannot use xbps-src, switch to a regular user." - exit 1 -fi - if [ -f $XBPS_MASTERDIR/.xbps_chroot_init ]; then export CHROOT_READY=1 fi