mirror of
https://github.com/xpipe-io/xpipe.git
synced 2024-11-21 23:20:23 +00:00
Use proper exit codes
This commit is contained in:
parent
378e9bff6f
commit
11293012e1
1 changed files with 2 additions and 2 deletions
|
@ -89,7 +89,7 @@ public class LauncherCommand implements Callable<Integer> {
|
|||
}
|
||||
}
|
||||
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<Integer> {
|
|||
// starting up or listening on another port
|
||||
if (!AppDataLock.lock()) {
|
||||
TrackEvent.info("Data directory is already locked. Quitting ...");
|
||||
OperationMode.halt(0);
|
||||
OperationMode.halt(1);
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue