[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

[Linux-cluster] ccs - fix -p parameter of ccsd



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
=== 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"

Attachment: signature.asc
Description: Digital signature


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]