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
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);
_______________________________________________________
Linux-HA-Dev: [email protected]
http://lists.linux-ha.org/mailman/listinfo/linux-ha-dev
Home Page: http://linux-ha.org/