* src/virsh.c: fix for virsh ttyconsole return value bug #495954

daniel
This commit is contained in:
Daniel Veillard 2009-04-15 20:09:09 +00:00
parent 1951b95cb2
commit f61208bde9
2 changed files with 5 additions and 0 deletions

View File

@ -1,3 +1,7 @@
Wed Apr 15 22:08:12 CEST 2009 Daniel Veillard <veillard@redhat.com>
* src/virsh.c: fix for virsh ttyconsole return value bug #495954
Wed Apr 15 21:59:09 CEST 2009 Daniel Veillard <veillard@redhat.com>
* drvlxc.html.in drvlxc.html: some examples from Serge Hallyn

View File

@ -4930,6 +4930,7 @@ cmdTTYConsole(vshControl *ctl, const vshCmd *cmd)
goto cleanup;
}
vshPrint(ctl, "%s\n", (const char *)obj->stringval);
ret = TRUE;
cleanup:
xmlXPathFreeObject(obj);