Allow xtchain to be launched by root
Этот коммит содержится в:
родитель
9b7d73e0e9
Коммит
f9af39e058
@ -6,12 +6,6 @@
|
|||||||
# DEVELOPERS: Rafal Kupiec <belliash@codingworkshop.eu.org>
|
# 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
|
# Get the absolute path to the XTchain
|
||||||
export XTCDIR="$(realpath $(dirname ${0}))"
|
export XTCDIR="$(realpath $(dirname ${0}))"
|
||||||
|
|
||||||
|
Загрузка…
Ссылка в новой задаче
Block a user