diff options
author | Matthew Wild <mwild1@gmail.com> | 2011-04-05 14:34:06 +0100 |
---|---|---|
committer | Matthew Wild <mwild1@gmail.com> | 2011-04-05 14:34:06 +0100 |
commit | 747f5e7ccf990ad014969251fe3c8ecce95226ff (patch) | |
tree | 2d3085aa1b4bfc83207f18f0a75e834c4825f339 /tools/migration/prosody-migrator.lua | |
parent | 667fc392e957df71290b5b36f86e964ac939fd5e (diff) | |
download | prosody-747f5e7ccf990ad014969251fe3c8ecce95226ff.tar.gz prosody-747f5e7ccf990ad014969251fe3c8ecce95226ff.zip |
tools/migration/prosody-migrator.lua: Add messages to show when migration is in progress
Diffstat (limited to 'tools/migration/prosody-migrator.lua')
-rw-r--r-- | tools/migration/prosody-migrator.lua | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/tools/migration/prosody-migrator.lua b/tools/migration/prosody-migrator.lua index feebe484..2a8bf1c3 100644 --- a/tools/migration/prosody-migrator.lua +++ b/tools/migration/prosody-migrator.lua @@ -125,9 +125,10 @@ local writer = require("migrator."..otype).writer(config[to_store]); local json = require "util.json"; +io.stderr:write("Migrating...\n"); for x in reader do --print(json.encode(x)) writer(x); end writer(nil); -- close - +io.stderr:write("Done!\n"); |