parallel-debian: Ensure we're not running make-base as root actually
This commit is contained in:
1 parent
1103284645
commit
4c7bf3936a
1 file changed
+5
@@ -35,6 +35,11 @@ EOF
|
|||||||
fi
|
fi
|
||||||
done
|
done
|
||||||
|
|
||||||
|
if test $(id -u) == 0; then
|
||||||
|
echo "Should not run this script as root."
|
||||||
|
exit 1
|
||||||
|
fi
|
||||||
|
|
||||||
if test -z "${OSTREE}"; then
|
if test -z "${OSTREE}"; then
|
||||||
OSTREE=`command -v ostree || true`
|
OSTREE=`command -v ostree || true`
|
||||||
fi
|
fi
|
||||||
|
|||||||
Reference in new issue
Block a user