* 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
+1
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);