mirror of
https://github.com/vmstan/gravity-sync.git
synced 2024-08-30 18:22:11 +00:00
Must not run as root
This commit is contained in:
parent
0ff690a2f0
commit
71827c613a
@ -1355,9 +1355,10 @@ function echo_need {
|
||||
|
||||
if [ ! "$EUID" -ne 0 ]
|
||||
then
|
||||
MESSAGE="${MESSAGE} ROOT"
|
||||
echo_fail
|
||||
|
||||
MESSAGE="Root User Detected"
|
||||
MESSAGE="${PROGRAM} Must Not Run as Root"
|
||||
echo_warn
|
||||
|
||||
exit_nochange
|
||||
|
Loading…
Reference in New Issue
Block a user