Clean up error handling.
This commit is contained in:
parent
98dd9d2c69
commit
e049d35583
@ -398,10 +398,11 @@ int main(int argc, char* argv[]) {
|
|||||||
#else
|
#else
|
||||||
else if (opt == 'C' || opt == 'K') {
|
else if (opt == 'C' || opt == 'K') {
|
||||||
fprintf(stderr,
|
fprintf(stderr,
|
||||||
"This %s does not have SSL/TLS support compiled in.\n"
|
"This guacd does not have SSL/TLS support compiled in.\n\n"
|
||||||
"If you wish to enable support for the -%c option, please install libssl and "
|
|
||||||
"recompile %s.\n",
|
"If you wish to enable support for the -%c option, please install libssl and\n"
|
||||||
argv[0], opt, argv[0]);
|
"recompile guacd.\n",
|
||||||
|
opt);
|
||||||
exit(EXIT_FAILURE);
|
exit(EXIT_FAILURE);
|
||||||
}
|
}
|
||||||
#endif
|
#endif
|
||||||
|
Loading…
Reference in New Issue
Block a user