diff options
author | Sam Wilkins <samwilkins333@gmail.com> | 2019-12-12 16:09:20 -0500 |
---|---|---|
committer | Sam Wilkins <samwilkins333@gmail.com> | 2019-12-12 16:09:20 -0500 |
commit | 1050212f66f9a906e9f2847e6d6171f488ba2179 (patch) | |
tree | 93c1c9670396959ac55730587334fc811b4da515 /src | |
parent | 1ff9b625f6292286162ee66b7b14ef8f04b20a19 (diff) |
small changes
Diffstat (limited to 'src')
-rw-r--r-- | src/server/ChildProcessUtilities/daemon/session.ts | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/server/ChildProcessUtilities/daemon/session.ts b/src/server/ChildProcessUtilities/daemon/session.ts index 833e90581..d51240349 100644 --- a/src/server/ChildProcessUtilities/daemon/session.ts +++ b/src/server/ChildProcessUtilities/daemon/session.ts @@ -81,8 +81,7 @@ async function checkHeartbeat() { try { await request.get(heartbeat); if (restarting) { - addLogEntry(`Backup server successfully ${count ? "restarted" : "started"}`, green); - count++; + addLogEntry(count++ ? "Backup server successfully restarted" : "Server successfully started", green); } restarting = false; } catch (e) { @@ -98,7 +97,8 @@ async function checkHeartbeat() { identifiedLog(yellow("Cleaning up previous connections...")); await clear_ports(1050, 4321); - identifiedLog(yellow("Finished attempting to clear all ports. Any failures will be printed in red immediately above.")); + identifiedLog(yellow("Finished attempting to clear all ports.")); + identifiedLog(yellow("Any failures will be printed in red immediately above.")); await log_execution({ startMessage: identifier + " Sending crash notification email", |