mirror of
https://github.com/LaCasemate/fab-manager.git
synced 2025-01-18 07:52:23 +01:00
fix elastic upgrade script: check root user
This commit is contained in:
parent
bf1a3ce913
commit
636e89f2e9
@ -10,7 +10,7 @@
|
||||
|
||||
config()
|
||||
{
|
||||
if [ "$(whoami)" != "root" ]
|
||||
if [ "$(whoami)" = "root" ]
|
||||
then
|
||||
echo "Please do not run this script as root, elevation will be prompted if needed."
|
||||
exit 1
|
||||
|
Loading…
x
Reference in New Issue
Block a user