Update glacier-install.sh
This commit is contained in:
parent
af551c95ee
commit
b555f13f71
@ -15,6 +15,10 @@ export error="\xE2\x9C\x95"
|
||||
export warning="\x21"
|
||||
export question="\x3F"
|
||||
|
||||
# Glacier preloading
|
||||
|
||||
source /etc/glacier.conf
|
||||
|
||||
# Require the script to be run as root
|
||||
if [[ $(/usr/bin/id -u) -ne 0 ]]; then
|
||||
printf "\033[1;31m [ \xE2\x9C\x95 ] \033[m Please run Glacier as root."
|
||||
|
Loading…
Reference in New Issue
Block a user