diff --git a/minicomic-backend.rb b/minicomic-backend.rb index 2df9303..c196bd9 100755 --- a/minicomic-backend.rb +++ b/minicomic-backend.rb @@ -416,6 +416,11 @@ if !ARGV[0] exit 0 end +if !File.exists?(ARGV[0]) + puts "#{ARGV[0]} doesn't exist!" + exit 1 +end + config = YAML::load(File.open(ARGV[0], "r")) global = config['Global']