Improve handling and reporting of common errors

This commit is contained in:
Cameron Gutman committed 2015-06-25 02:43:25 -04:00
1 parent 790f86681a
commit bfd84705a1
2 files changed
+2 -2

No files matched your search

+1 -1
View File
@@ -252,7 +252,7 @@ int main(int argc, char* argv[]) {
address[0] = 0;
discover_server(address);
if (address[0] == 0) {
perror("Can't find server");
fprintf(stderr, "Autodiscovery failed. Specify an IP address next time.\n");
exit(-1);
}
}