diff --git a/apps/routerconsole/java/src/net/i2p/router/web/ConfigRestartBean.java b/apps/routerconsole/java/src/net/i2p/router/web/ConfigRestartBean.java index 657039400329a4d37d34b51f221bc1e2f26be19a..aacdfc91a959fd956f724a262d496d7cddbc2fca 100644 --- a/apps/routerconsole/java/src/net/i2p/router/web/ConfigRestartBean.java +++ b/apps/routerconsole/java/src/net/i2p/router/web/ConfigRestartBean.java @@ -54,7 +54,12 @@ public class ConfigRestartBean { long timeRemaining = ctx.router().getShutdownTimeRemaining(); StringBuilder buf = new StringBuilder(128); if ((shuttingDown || restarting) && timeRemaining <= 0) { - buf.append("<center><b>").append(_("Shutdown imminent", ctx)).append("</b></center>"); + buf.append("<center><b>"); + if (restarting) + buf.append(_("Restart imminent", ctx)); + else + buf.append(_("Shutdown imminent", ctx)); + buf.append("</b></center>"); } else if (shuttingDown) { buf.append("<center><b>"); buf.append(_("Shutdown in {0}", DataHelper.formatDuration(timeRemaining), ctx));