exit if no leader
This commit is contained in:
committed by
Grimes
parent
bbce08a67b
commit
61492fd27e
@ -516,7 +516,8 @@ fn main() {
|
|||||||
exit(1);
|
exit(1);
|
||||||
}
|
}
|
||||||
if leader.is_none() {
|
if leader.is_none() {
|
||||||
println!("no leader");
|
println!("no leader");
|
||||||
|
exit(1);
|
||||||
}
|
}
|
||||||
|
|
||||||
if matches.is_present("converge_only") {
|
if matches.is_present("converge_only") {
|
||||||
|
Reference in New Issue
Block a user