Update glacier-remove.sh

This commit is contained in:
everest
2022-05-02 16:41:34 +00:00
committed by GitHub
parent 4085450712
commit b134177b9e

View File

@@ -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 [ $error ] \033[m Please run Glacier as root."