parallel-debian: Ensure we're not running make-base as root actually
This commit is contained in:
parent
1103284645
commit
4c7bf3936a
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Reference in New Issue