From e049d35583268f83750ce97d54487a6d5205496f Mon Sep 17 00:00:00 2001 From: Michael Jumper Date: Mon, 22 Jul 2013 16:12:39 -0700 Subject: [PATCH] Clean up error handling. --- src/guacd/daemon.c | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/src/guacd/daemon.c b/src/guacd/daemon.c index 1fdaa02a..2939aaf2 100644 --- a/src/guacd/daemon.c +++ b/src/guacd/daemon.c @@ -398,10 +398,11 @@ int main(int argc, char* argv[]) { #else else if (opt == 'C' || opt == 'K') { fprintf(stderr, - "This %s does not have SSL/TLS support compiled in.\n" - "If you wish to enable support for the -%c option, please install libssl and " - "recompile %s.\n", - argv[0], opt, argv[0]); + "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\n" + "recompile guacd.\n", + opt); exit(EXIT_FAILURE); } #endif