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