Commit dc8ab8dc authored by kytv's avatar kytv

Improve function name

parent 5f823308
......@@ -44,7 +44,7 @@ wait_until_i2p_router_console_is_ready() {
wait_until ${I2P_STARTUP_TIMEOUT} i2p_router_console_is_ready
}
wait_and_see_if_i2p_fails_to_bootstrap() {
i2p_fails_to_bootstrap() {
wait_until ${I2P_BOOTSTRAP_TIMEOUT} i2p_reseed_failed
}
......@@ -85,7 +85,9 @@ case "${1}" in
service i2p start
wait_until_i2p_router_console_is_ready || startup_failure
notify_router_console_success
wait_and_see_if_i2p_fails_to_bootstrap && bootstrap_failure
if i2p_fails_to_bootstrap; then
bootstrap_failure
fi
wait_until_i2p_has_bootstrapped || bootstrap_failure
notify_bootstrap_success
;;
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment