Comparison

tools/migration/prosody-migrator.lua @ 7895:1e1c18012048

migrator: Fix missing word
author Kim Alvefur <zash@zash.se>
date Wed, 15 Feb 2017 15:30:34 +0100
parent 7894:217412da818f
child 8062:739bb455cafd
comparison
equal deleted inserted replaced
7894:217412da818f 7895:1e1c18012048
45 45
46 config = {}; 46 config = {};
47 local config_env = setmetatable({}, { __index = function(t, k) return function(tbl) config[k] = tbl; end; end }); 47 local config_env = setmetatable({}, { __index = function(t, k) return function(tbl) config[k] = tbl; end; end });
48 local config_chunk, err = envloadfile(config_file, config_env); 48 local config_chunk, err = envloadfile(config_file, config_env);
49 if not config_chunk then 49 if not config_chunk then
50 print("There was an error loading the config file, check the file exists"); 50 print("There was an error loading the config file, check that the file exists");
51 print("and that the syntax is correct:"); 51 print("and that the syntax is correct:");
52 print("", err); 52 print("", err);
53 os.exit(1); 53 os.exit(1);
54 end 54 end
55 55