updated root check command

This commit is contained in:
2024-03-04 20:37:13 -06:00
parent 0b18e216cb
commit f630cfae9f
2 changed files with 4 additions and 4 deletions

View File

@@ -1,8 +1,8 @@
#!/bin/bash
if [ $(id -u) = 0 ]; then
if [[ $(id -u) = 0 ]]; then
echo "Please do NOT run as root!"
exit 1
exit 1
fi
# add aliases