summaryrefslogtreecommitdiffstats
path: root/x11vnc/ssltools.h
diff options
context:
space:
mode:
authorrunge <runge>2007-04-28 23:27:00 +0000
committerrunge <runge>2007-04-28 23:27:00 +0000
commit3fcab6f1ec5238977b28d5d6f5fbae365b1254fa (patch)
tree1b8b1e6e6c5663baa3f548ca6d0cd431c8e27f4c /x11vnc/ssltools.h
parent2d0b184f8b99b5f60a8c4f94bfc42ebf96dbc9b3 (diff)
downloadlibtdevnc-3fcab6f1ec5238977b28d5d6f5fbae365b1254fa.tar.gz
libtdevnc-3fcab6f1ec5238977b28d5d6f5fbae365b1254fa.zip
x11vnc: -users sslpeer= option. RFB_SSL_CLIENT_CERT, -ncache 10 default
Diffstat (limited to 'x11vnc/ssltools.h')
-rw-r--r--x11vnc/ssltools.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/x11vnc/ssltools.h b/x11vnc/ssltools.h
index ea26478..804767a 100644
--- a/x11vnc/ssltools.h
+++ b/x11vnc/ssltools.h
@@ -1295,7 +1295,7 @@ char create_display[] =
"\n"
"have_root=\"\"\n"
"id0=`id`\n"
-"if id | grep -w root > /dev/null; then\n"
+"if id | sed -e 's/ gid.*$//' | grep -w root > /dev/null; then\n"
" have_root=\"1\"\n"
"fi\n"
"\n"