[PATCH] Fix bracket typo

Jiri Pirko jpirko at redhat.com
Fri May 31 11:34:42 UTC 2013


Wed, May 29, 2013 at 03:46:48PM CEST, jtluka at redhat.com wrote:
>I accidentally wrote incorrect brackets that results in crash of the
>controller application. This commit fixes it.
>
>Signed-off-by: Jan Tluka <jtluka at redhat.com>
>---
> lnst-ctl | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
>diff --git a/lnst-ctl b/lnst-ctl
>index 1ed3515..5701518 100755
>--- a/lnst-ctl
>+++ b/lnst-ctl
>@@ -145,7 +145,7 @@ def main():
> 
>     action = args.pop()
> 
>-    if not action in {'run', 'dump', 'config_only', 'match_setup'}:
>+    if not action in ['run', 'dump', 'config_only', 'match_setup']:
>         logging.error("No action command passed")
>         usage();
> 
>-- 
>1.7.11.7
>
>_______________________________________________
>LNST-developers mailing list
>LNST-developers at lists.fedorahosted.org
>https://lists.fedorahosted.org/mailman/listinfo/lnst-developers


applied


More information about the LNST-developers mailing list