Fix equality check for running install_usr as root.

This commit is contained in:
Drew Galbraith 2023-11-20 13:10:13 -08:00
parent 1932d51e52
commit 7332b21170
1 changed files with 1 additions and 1 deletions

View File

@ -1,7 +1,7 @@
#! /bin/bash
set -e
if [[ $EUID -ne 0 ]]; then
if [[ $EUID -eq 0 ]]; then
echo "Cannot run as root."
exit
fi