--- /usr/bin/emerge-delta-webrsync 2007-04-16 16:14:39.000000000 +0200 +++ emerge-delta-webrsync 2007-04-25 21:08:51.000000000 +0200 @@ -21,6 +21,11 @@ TMPDIR="${f%%|*}/snapshots" unset IFS +if [ $(id -u) -ne 0 ]; then + echo "ERROR: $0 has to be run as root" + exit 1 +fi + source /usr/lib/portage/bin/isolated-functions.sh || exit 1 if [ -z "$NICENESS_PULLED" ]; then