[libvirt] [PATCH 5/7] virsh-interface: Adapt to new error reporting

Michal Privoznik mprivozn at redhat.com
Wed Apr 2 12:43:58 UTC 2014


Signed-off-by: Michal Privoznik <mprivozn at redhat.com>
---
 tools/virsh-interface.c | 4 +---
 1 file changed, 1 insertion(+), 3 deletions(-)

diff --git a/tools/virsh-interface.c b/tools/virsh-interface.c
index d4ec854..27820a7 100644
--- a/tools/virsh-interface.c
+++ b/tools/virsh-interface.c
@@ -844,10 +844,8 @@ cmdInterfaceBridge(vshControl *ctl, const vshCmd *cmd)
     /* use "no-stp" because we want "stp" to default true */
     stp = !vshCommandOptBool(cmd, "no-stp");
 
-    if (vshCommandOptUInt(cmd, "delay", &delay) < 0) {
-        vshError(ctl, "%s", _("Unable to parse delay parameter"));
+    if (vshCommandOptUInt(cmd, "delay", &delay) < 0)
         goto cleanup;
-    }
 
     nostart = vshCommandOptBool(cmd, "no-start");
 
-- 
1.9.0




More information about the libvir-list mailing list