Allow xtchain to be launched by root

This commit is contained in:
2023-11-23 22:22:40 +01:00
committed by belliash
parent 6a3d8ceedf
commit fb39e8855d
-6
View File
@@ -6,12 +6,6 @@
# DEVELOPERS: Rafal Kupiec <belliash@codingworkshop.eu.org>
# Check if script launched as root
if [ "$(whoami)" = "root" ]; then
echo "This script cannot be run as root!"
exit 1
fi
# Get the absolute path to the XTchain
export XTCDIR="$(realpath $(dirname ${0}))"