From: "Dr. David Alan Gilbert" <[email protected]>

Signed-off-by: Dr. David Alan Gilbert <[email protected]>
Reviewed-by: Markus Armbruster <[email protected]>
Reviewed-by: Eric Blake <[email protected]>
Reviewed-by: Amit Shah <[email protected]>
Signed-off-by: Juan Quintela <[email protected]>
---
 hmp.c | 6 +-----
 1 file changed, 1 insertion(+), 5 deletions(-)

diff --git a/hmp.c b/hmp.c
index f6cde86..84fb585 100644
--- a/hmp.c
+++ b/hmp.c
@@ -1123,11 +1123,7 @@ void hmp_migrate_incoming(Monitor *mon, const QDict 
*qdict)

     qmp_migrate_incoming(uri, &err);

-    if (err) {
-        monitor_printf(mon, "%s\n", error_get_pretty(err));
-        error_free(err);
-        return;
-    }
+    hmp_handle_error(mon, &err);
 }

 void hmp_migrate_set_downtime(Monitor *mon, const QDict *qdict)
-- 
2.1.0


Reply via email to