diff --git a/connman/connman-test-service.py b/connman/connman-test-service.py index 8b52abdc30a389a79535046848d411da9d0caee0..379c772a71206ffc567f4685e4a9c4d64d96d95b 100755 --- a/connman/connman-test-service.py +++ b/connman/connman-test-service.py @@ -210,6 +210,10 @@ if __name__ == "__main__": "net.connman.Manager") services = manager.GetServices() + + if len(services) == 0 : + print "Error: Ethernet Interface not enabled" + exit(1) options = {} for path, props in services: identifier = path[path.rfind("/") + 1:]