Update glacier-cache-clear.sh

This commit is contained in:
everest 2022-05-27 18:09:40 +00:00 committed by GitHub
parent f9fe4831e5
commit f5b99b1efe
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -4,7 +4,7 @@
# Glacier preloading # Glacier preloading
source /etc/glacier.conf source /etc/glacier/hooks.sh
# Require the script to be run as root # Require the script to be run as root
if [[ $(/usr/bin/id -u) -ne 0 ]]; then if [[ $(/usr/bin/id -u) -ne 0 ]]; then