[Linux-ha-dev] Small patch for crm_resource-Output
Christian Froemmel
froemmel at systemconcept.de
Wed Dec 6 13:45:25 MST 2006
Hi,
the attached diff fixes a small outputerror in "crm_resource -Q"-output
when locating a running resource. I had some problems with that space
after \n in shellscripts.
kind regards,
Christian
--
SYSTEM CONCEPT GmbH
Systemadministration/Network
-------------- next part --------------
diff -urbNB Heartbeat-Dev-efa0bfbe81a6/crm/admin/crm_resource.c Heartbeat-Dev-patched/crm/admin/crm_resource.c
--- Heartbeat-Dev-efa0bfbe81a6/crm/admin/crm_resource.c 2006-12-04 18:52:31.000000000 +0100
+++ Heartbeat-Dev-patched/crm/admin/crm_resource.c 2006-12-06 21:40:17.000000000 +0100
@@ -85,7 +85,7 @@
crm_debug_3("resource %s is running on: %s",
rsc, node->details->uname);
if(BE_QUIET) {
- fprintf(stdout, "%s\n ", node->details->uname);
+ fprintf(stdout, "%s\n", node->details->uname);
} else {
fprintf(stdout, "resource %s is running on: %s\n",
rsc, node->details->uname);
More information about the Linux-HA-Dev
mailing list