fixed app not exiting on error
This commit is contained in:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user