From a7c5151b563eb72d05a2506b2c1bf14c3be1417d Mon Sep 17 00:00:00 2001 From: idk Date: Fri, 20 May 2022 18:46:34 -0400 Subject: [PATCH] make i2pIsRunning behavior consistent for both tests --- java/net/i2p/router/WinLauncher.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/java/net/i2p/router/WinLauncher.java b/java/net/i2p/router/WinLauncher.java index 70b5285..1459593 100644 --- a/java/net/i2p/router/WinLauncher.java +++ b/java/net/i2p/router/WinLauncher.java @@ -98,7 +98,7 @@ public class WinLauncher { long diff = System.currentTimeMillis() - ping.lastModified(); if (diff < 2 * 60 * 1000) { logger.info("router.ping exists and is less than 2 minutes old, I2P appears to be running already."); - System.exit(0); + return true; } } try {