From 5e3442810bbe8f09e194d1b645534fea60d31cc1 Mon Sep 17 00:00:00 2001 From: Simon Rieger Date: Mon, 5 Jun 2023 14:20:39 +0200 Subject: [PATCH] Exit programm after running --- src/main/kotlin/Main.kt | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/main/kotlin/Main.kt b/src/main/kotlin/Main.kt index 51043bc..a97bea7 100644 --- a/src/main/kotlin/Main.kt +++ b/src/main/kotlin/Main.kt @@ -79,6 +79,8 @@ fun listFilesForFolder(folder: File) { getNotifications(file.absolutePath) } } + // Beende das Programm + exitProcess(0) } fun getNotifications(file: String) {