test: When priting help for enter-pin, exit
authorDenis Kenzior <denkenz@gmail.com>
Wed, 8 Dec 2010 13:03:01 +0000 (07:03 -0600)
committerDenis Kenzior <denkenz@gmail.com>
Wed, 8 Dec 2010 13:03:01 +0000 (07:03 -0600)
test/enter-pin

index 0bfe112..fea15e0 100755 (executable)
@@ -18,6 +18,7 @@ elif len(sys.argv) == 3:
        pin = sys.argv[2]
 else:
        print "%s [PATH] pin_type pin" % (sys.argv[0])
+       sys.exit(0)
 
 print "Enter Pin for modem %s..." % path
 simmanager = dbus.Interface(bus.get_object('org.ofono', path),