Fix equality check for running install_usr as root.
This commit is contained in:
parent
1932d51e52
commit
7332b21170
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue