Alphanet.sh: minor fixes
This commit is contained in:
parent
3b4db01ac7
commit
8b6aa2b16d
@ -398,11 +398,11 @@ log_endorser() {
|
|||||||
}
|
}
|
||||||
|
|
||||||
stop_endorser() {
|
stop_endorser() {
|
||||||
if ! check_baker; then
|
if ! check_endorser; then
|
||||||
echo -e "\033[31mNo baker to kill!\033[0m"
|
echo -e "\033[31mNo endorser to kill!\033[0m"
|
||||||
exit 1
|
exit 1
|
||||||
fi
|
fi
|
||||||
echo -e "\033[32mStopping the baker...\033[0m"
|
echo -e "\033[32mStopping the endorser...\033[0m"
|
||||||
call_docker_compose stop $endorsers
|
call_docker_compose stop $endorsers
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -463,11 +463,11 @@ log_accuser() {
|
|||||||
}
|
}
|
||||||
|
|
||||||
stop_accuser() {
|
stop_accuser() {
|
||||||
if ! check_baker; then
|
if ! check_accuser; then
|
||||||
echo -e "\033[31mNo baker to kill!\033[0m"
|
echo -e "\033[31mNo accuser to kill!\033[0m"
|
||||||
exit 1
|
exit 1
|
||||||
fi
|
fi
|
||||||
echo -e "\033[32mStopping the baker...\033[0m"
|
echo -e "\033[32mStopping the accuser...\033[0m"
|
||||||
call_docker_compose stop $accusers
|
call_docker_compose stop $accusers
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user