X-Git-Url: https://git.octo.it/?p=rrdtool.git;a=blobdiff_plain;f=src%2Frrd_daemon.c;h=128f3c444afe0bdde1d75331532f73ea388df0c2;hp=154f0dee366bff3208a5a1ba9b6cc2d20664202c;hb=b4d4059df709e7faded933b9e619eabf9cbe1622;hpb=cd97eb45fb5fe5b964e2cf1584c02a931ec43b95;ds=sidebyside
diff --git a/src/rrd_daemon.c b/src/rrd_daemon.c
index 154f0de..128f3c4 100644
--- a/src/rrd_daemon.c
+++ b/src/rrd_daemon.c
@@ -3105,13 +3105,20 @@ static int read_options (int argc, char **argv) /* {{{ */
" -g Do not fork and run in the foreground.\n"
" -j
Directory in which to create the journal files.\n"
" -F Always flush all updates at shutdown\n"
- " -s Make socket g+rw to named group\n"
+ " -s Group owner of all following UNIX sockets\n"
+ " (the socket will also have read/write permissions "
+ "for that group)\n"
+ " -m File permissions (octal) of all following UNIX "
+ "sockets\n"
"\n"
"For more information and a detailed description of all options "
"please refer\n"
"to the rrdcached(1) manual page.\n",
VERSION);
- status = -1;
+ if (option == 'h')
+ status = -1;
+ else
+ status = 1;
break;
} /* switch (option) */
} /* while (getopt) */