Fix equality check for running install_usr as root.
This commit is contained in:
parent
1932d51e52
commit
7332b21170
1 changed files with 1 additions and 1 deletions
|
|
@ -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…
Add table
Add a link
Reference in a new issue