dvblastctl: Show errors as XML if XML output was requested.
XML output worked only for get_xxx and fe_status commands.
With this patch error messages are also available as XML.
Nice side effect is that error handling is now refactored
into return_error() function.
Signed-off-by: Georgi Chorbadzhiyski <gf@unixsol.org>
Showing
Please register or sign in to comment