Update UNINSTALL-GLACIER.sh

This commit is contained in:
everest 2022-03-09 22:42:58 +00:00 committed by GitHub
parent 5ab3b73ec0
commit e3162699c0
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -1,3 +1,8 @@
#!/bin/sh #!/bin/sh
echo "hi" # Require the script to be run as root
if [[ $(/usr/bin/id -u) -ne 0 ]]; then
echo "[ X ] Please run Glacier uninstallation as root."
exit
fi