[Linux-cluster] ccs - fix -p parameter of ccsd
Bastian Blank
bastian at waldi.eu.org
Sun Feb 13 22:26:59 UTC 2005
Hi folks
The attached patch fixes the -p parameter of ccsd.
Bastian
--
It would be illogical to assume that all conditions remain stable.
-- Spock, "The Enterprise Incident", stardate 5027.3
-------------- next part --------------
=== daemon/ccsd.c
==================================================================
--- daemon/ccsd.c (revision 315)
+++ daemon/ccsd.c (local)
@@ -296,7 +296,7 @@
memset(buff, 0, buff_size);
- while((c = getopt(argc, argv, "46cdf:hlm:nP:t:sV")) != -1){
+ while((c = getopt(argc, argv, "46cdf:hlm:np:P:t:sV")) != -1){
switch(c){
case '4':
if(IPv6 == 1){
@@ -378,6 +378,7 @@
lockfile_location = optarg;
buff_index += snprintf(buff+buff_index, buff_size-buff_index,
" Lock file location:: %s\n", optarg);
+ break;
case 'P':
if(optarg[1] != ':'){
fprintf(stderr, "Bad argument to '-P' option.\n"
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 197 bytes
Desc: Digital signature
URL: <http://listman.redhat.com/archives/linux-cluster/attachments/20050213/9687ec33/attachment.sig>
More information about the Linux-cluster
mailing list