Update archtitus.sh
This commit is contained in:
parent
e3b336e16c
commit
38b7b195bf
|
|
@ -6,13 +6,13 @@
|
|||
# @testing if script was run as root for full os run
|
||||
if [ "$EUID" -ne 0 ]
|
||||
then echo "Please run as root"
|
||||
exit
|
||||
exit 0
|
||||
fi
|
||||
# @docker check
|
||||
if grep -sq 'docker\|lxc' /proc/1/cgroup
|
||||
then
|
||||
echo "running in docker container, no supported (at the moment)"
|
||||
exit
|
||||
exit 0
|
||||
fi
|
||||
# Find the name of the folder the scripts are in
|
||||
set -a
|
||||
|
|
|
|||
Loading…
Reference in New Issue