1
0
mirror of https://github.com/fabianonline/telegram_backup.git synced 2024-11-23 01:06:17 +00:00

App now always exits.

This commit is contained in:
Fabian Schlenz 2016-07-13 06:22:11 +02:00
parent c5c692d61d
commit ac67818d28

View File

@ -162,8 +162,9 @@ public class CommandLineController {
System.out.println("DAEMON mode requested - keeping running."); System.out.println("DAEMON mode requested - keeping running.");
} else { } else {
client.close(); client.close();
System.out.println();
System.out.println("----- EXIT -----"); System.out.println("----- EXIT -----");
System.out.println("If this program doesn't exit by itself, please press Ctrl-C now."); System.exit(0);
} }
} }
} }