summaryrefslogtreecommitdiffstats
path: root/x11vnc/ssltools.h
diff options
context:
space:
mode:
Diffstat (limited to 'x11vnc/ssltools.h')
-rw-r--r--x11vnc/ssltools.h11
1 files changed, 8 insertions, 3 deletions
diff --git a/x11vnc/ssltools.h b/x11vnc/ssltools.h
index 42f68eb..b587dcd 100644
--- a/x11vnc/ssltools.h
+++ b/x11vnc/ssltools.h
@@ -267,15 +267,20 @@ char genCert[] =
"\n"
"direrror() {\n"
" echo \"\"\n"
+" echo \"You need first to run:\"\n"
+" echo \"\"\n"
" if echo \"$DIR\" | grep '/\\.vnc/certs' > /dev/null; then\n"
-" echo \"You need first to run: x11vnc -sslGenCA\"\n"
+" echo \" x11vnc -sslGenCA\"\n"
" else\n"
-" echo \"You need first to run: x11vnc -sslGenCA $DIR\"\n"
+" echo \" x11vnc -sslGenCA $DIR\"\n"
" fi\n"
+" echo \"\"\n"
" echo \"to create the CA cert file and other needed config files and directories.\"\n"
" echo \"\"\n"
+" echo \"Then you can run: x11vnc -sslGenCert $type $name0\"\n"
+" echo \"\"\n"
" if [ \"X$1\" != \"X\" ]; then\n"
-" echo \"(missing: $1)\"\n"
+" echo \"(missing file/dir: $1)\"\n"
" echo \"\"\n"
" fi\n"
" exit 1\n"