From 163f48d410fa52807ed4d2e5a8ffde231ab71e12 Mon Sep 17 00:00:00 2001 From: Sean Hefty Date: Wed, 2 Jul 2008 12:02:35 -0700 Subject: [PATCH] librdmacm/rping: fix duplicate usage message Avoid displaying the usage message twice if --help option is used. Problem reported by Jeff Squyres . Signed-off-by: Sean Hefty --- examples/rping.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/examples/rping.c b/examples/rping.c index a85f398e..d47d95a9 100644 --- a/examples/rping.c +++ b/examples/rping.c @@ -1160,7 +1160,7 @@ int main(int argc, char *argv[]) default: usage("rping"); ret = EINVAL; - break; + goto out; } } if (ret) -- 2.41.0