From a98d5c316d04b1e3b6e5666aeae1083f06759e3e Mon Sep 17 00:00:00 2001 From: luneko Date: Wed, 29 Dec 2021 04:36:00 +0100 Subject: [PATCH] fixed app not exiting on error --- src/kotatsu.cr | 1 + 1 file changed, 1 insertion(+) diff --git a/src/kotatsu.cr b/src/kotatsu.cr index fec3d8f..e5c8164 100644 --- a/src/kotatsu.cr +++ b/src/kotatsu.cr @@ -14,6 +14,7 @@ module Kotatsu Dir.mkdir(dir) if Dir.exists?(dir) == false STDERR.puts "ERROR! Could not create directory: #{dir}" + exit(1) end end File.write(file, VERSION)