mirror of
https://github.com/aljazceru/cyphernode.git
synced 2026-02-04 12:04:27 +01:00
only warn user if run as user option is set :-/
This commit is contained in:
10
dist/setup.sh
vendored
10
dist/setup.sh
vendored
@@ -530,14 +530,12 @@ sanity_checks() {
|
||||
|
||||
local OS=$(uname -s)
|
||||
|
||||
if [[ $OS == 'Darwin' ]]; then
|
||||
echo " Run as user option is not supported on OSX.[0m"
|
||||
echo " [33mPlease run start.sh later as the user you are running this setup utility under.[0m"
|
||||
RUN_AS_USER=$USER
|
||||
fi
|
||||
|
||||
if [[ ''$RUN_AS_USER == '' ]]; then
|
||||
RUN_AS_USER=$USER
|
||||
elif [[ $OS == 'Darwin' ]]; then
|
||||
echo " Run as user option is not supported on OSX.[0m"
|
||||
echo " [33mPlease run start.sh later as the user you are running this setup utility under.[0m"
|
||||
RUN_AS_USER=$USER
|
||||
fi
|
||||
|
||||
local sudo=0
|
||||
|
||||
Reference in New Issue
Block a user