Browse Source

Exit when sync complete

master
Tony Kovanen 9 years ago
parent
commit
e056e4ea9a
  1. 1
      bin/now

1
bin/now

@ -90,6 +90,7 @@ async function sync (token) {
const elapsed_u = ms(new Date() - start_u);
console.log(`> Sync complete (${bytes(now.syncAmount)}) [${elapsed_u}] `);
now.close();
process.exit(0);
};
if (now.syncAmount) {

Loading…
Cancel
Save