forked from p15670423/monkey
Give a more descriptive error message if deploy_linux.sh cannot use sudo
This commit is contained in:
parent
6f0fffee07
commit
0238354bea
|
@ -68,7 +68,8 @@ INFECTION_MONKEY_DIR="$monkey_home/monkey/infection_monkey"
|
|||
MONKEY_BIN_DIR="$INFECTION_MONKEY_DIR/bin"
|
||||
|
||||
if ! has_sudo; then
|
||||
log_message "You need root permissions for some of this script operations. Quiting."
|
||||
log_message "You need root permissions for some of this script operations. \
|
||||
Run \`sudo -v\`, enter your password, and then re-run this script."
|
||||
exit 1
|
||||
fi
|
||||
|
||||
|
|
Loading…
Reference in New Issue