1
0
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:
Sylvain 2018-11-20 14:43:55 +01:00
parent bf1a3ce913
commit 636e89f2e9

View File

@ -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