vmquery fails if passing server
Status: Beta
Brought to you by:
pbuschman
Now that I've gotten around to actually using NBUX with
the MASTER_SERVER and VOLUME_DATABASE_HOST options, I
found a bug in vmquery. Simple enough. vmquery pushes
the options onto vmquery before pushing the vmquery
command itself, @cmd ends up looking like:
-M myserver -h myserver vmquery -a -X
Simple enough to fix, just re-order the push commands.
I'm inclosing a patch that fixes the bug.
I went over the other commands and didn't find a
similar bug anywhere else.
Cheers,
-casey
patch for vmquery server_passing bug