syncService.getEventBus().register(consoleLogger);
ListenableFuture<Outcome> serviceOutcome = syncService.start(config);
try {
Outcome outcome = serviceOutcome.get();
if (outcome.getFailedToDownload() > 0) {
System.exit(1);
}
} catch (Throwable t) {
System.exit(1);
}