From da25b2a7637754c0bb708d51561b26deb69c1271 Mon Sep 17 00:00:00 2001 From: AsamK Date: Sun, 11 Jun 2023 17:17:04 +0200 Subject: [PATCH] Add missing return to app command handling --- src/main/java/org/asamk/signal/App.java | 1 + 1 file changed, 1 insertion(+) diff --git a/src/main/java/org/asamk/signal/App.java b/src/main/java/org/asamk/signal/App.java index fdd88e7c..9ac4b190 100644 --- a/src/main/java/org/asamk/signal/App.java +++ b/src/main/java/org/asamk/signal/App.java @@ -190,6 +190,7 @@ public class App { if (command instanceof LocalCommand localCommand) { handleLocalCommand(localCommand, account, signalAccountFiles, commandHandler); + return; } throw new UserErrorException("Command only works in multi-account mode");