[torqueusers] small bug with 2.1.1's momctl
Garrick Staples
garrick at clusterresources.com
Fri Jun 23 21:28:48 MDT 2006
I introduced a small bug to momctl in 2.1.1. Queries that set a value
break when talking to multiple hosts. This works fine:
momctl -q version -h :ALL
But this fails:
momctl -q enablemomrestart=1 -h :ALL
The fix is committed upstream, but here it is:
$ svn diff -r 722:723 src/cmds/momctl.c
Index: src/cmds/momctl.c
===================================================================
--- src/cmds/momctl.c (revision 722)
+++ src/cmds/momctl.c (revision 723)
@@ -581,6 +581,11 @@
Value);
}
}
+
+ if (ptr != NULL)
+ {
+ *ptr='=';
+ }
} /* END for (rindex) */
} /* END BLOCK (case momQuery) */
More information about the torqueusers
mailing list