From a74d79da279e59fa4826c5dca880e50774f44f1a Mon Sep 17 00:00:00 2001 From: Patrik Flykt Date: Thu, 13 Sep 2012 13:35:53 +0300 Subject: test: Disable tethering test script takes exactly one argument With one argument, len(sys.argv) is equal to 2. --- test/disable-tethering | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'test') diff --git a/test/disable-tethering b/test/disable-tethering index d9c56a0b..a3d5908c 100755 --- a/test/disable-tethering +++ b/test/disable-tethering @@ -3,7 +3,7 @@ import sys import dbus -if (len(sys.argv) < 2): +if (len(sys.argv) != 2): print "Usage: %s type" % (sys.argv[0]) sys.exit(1) -- cgit v1.2.3