Terminate on s3proxy start failure

E.g. when bind(2) fails.
pull/78/head
Nate Rosenblum 2015-08-22 14:25:12 -07:00
rodzic 095d9aa94d
commit f40693f214
1 zmienionych plików z 6 dodań i 1 usunięć

Wyświetl plik

@ -131,6 +131,11 @@ public final class Main {
System.exit(1);
throw e;
}
s3Proxy.start();
try {
s3Proxy.start();
} catch (Exception e) {
System.err.println(e.getMessage());
System.exit(1);
}
}
}