parallel-debian: Ensure we're not running make-base as root actually

This commit is contained in:
Colin Walters committed 2011-11-10 11:56:34 -05:00
1 parent 1103284645
commit 4c7bf3936a
1 file changed
+5
+5
View File
@@ -35,6 +35,11 @@ EOF
fi
done
if test $(id -u) == 0; then
echo "Should not run this script as root."
exit 1
fi
if test -z "${OSTREE}"; then
OSTREE=`command -v ostree || true`
fi