diff options
Diffstat (limited to 'test/disable-device')
-rwxr-xr-x | test/disable-device | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/test/disable-device b/test/disable-device index 7aadab01..caa954f0 100755 --- a/test/disable-device +++ b/test/disable-device @@ -20,8 +20,11 @@ for path in properties["Devices"]: properties = device.GetProperties() + if "Interface" not in properties.keys(): + continue + if properties["Interface"] != sys.argv[1]: - continue; + continue print "Disabling device %s" % (path) |