From 81ac38fbc87511214ae618dddb80a054ebbfe34d Mon Sep 17 00:00:00 2001 From: Fabian Schlenz Date: Tue, 20 Sep 2016 06:35:25 +0200 Subject: [PATCH] Stop looking for an account after a matching account is found. --- .../de/fabianonline/telegram_backup/CommandLineController.java | 1 + 1 file changed, 1 insertion(+) diff --git a/src/main/java/de/fabianonline/telegram_backup/CommandLineController.java b/src/main/java/de/fabianonline/telegram_backup/CommandLineController.java index 9ad61e7..a8b9961 100644 --- a/src/main/java/de/fabianonline/telegram_backup/CommandLineController.java +++ b/src/main/java/de/fabianonline/telegram_backup/CommandLineController.java @@ -85,6 +85,7 @@ public class CommandLineController { if (acc.equals(CommandLineOptions.val_account)) { found=true; logger.trace("Matches."); + break; } } if (!found) {