ovs-vlan-test: clearly indicate failure.
authorEthan Jackson <ethan@nicira.com>
Wed, 2 Feb 2011 02:19:39 +0000 (18:19 -0800)
committerEthan Jackson <ethan@nicira.com>
Wed, 2 Feb 2011 19:21:13 +0000 (11:21 -0800)
utilities/ovs-vlan-test.in

index 8489e68c784a3d6511aeeaf44e50ddae738119d4..f937845307f2da58fab0dcd00dd10f84e511816c 100755 (executable)
@@ -363,8 +363,9 @@ class VlanClient:
         if success:
             print_safe('OK')
             return 0
-
-        return 1
+        else:
+            print_safe('FAILED')
+            return 1
 \f
 def usage():
     print_safe("""\