From 11293012e19e1cb68cc23f3eea0fdb173ab1fb77 Mon Sep 17 00:00:00 2001 From: crschnick Date: Wed, 16 Aug 2023 16:48:26 +0000 Subject: [PATCH] Use proper exit codes --- app/src/main/java/io/xpipe/app/launcher/LauncherCommand.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/app/src/main/java/io/xpipe/app/launcher/LauncherCommand.java b/app/src/main/java/io/xpipe/app/launcher/LauncherCommand.java index 62e05292..57646163 100644 --- a/app/src/main/java/io/xpipe/app/launcher/LauncherCommand.java +++ b/app/src/main/java/io/xpipe/app/launcher/LauncherCommand.java @@ -89,7 +89,7 @@ public class LauncherCommand implements Callable { } } TrackEvent.info("Another instance is already running on this port. Quitting ..."); - OperationMode.halt(0); + OperationMode.halt(1); } // Even in case we are unable to reach another beacon server @@ -97,7 +97,7 @@ public class LauncherCommand implements Callable { // starting up or listening on another port if (!AppDataLock.lock()) { TrackEvent.info("Data directory is already locked. Quitting ..."); - OperationMode.halt(0); + OperationMode.halt(1); } }