summaryrefslogtreecommitdiff
path: root/src/migration-scripts
diff options
context:
space:
mode:
Diffstat (limited to 'src/migration-scripts')
-rwxr-xr-xsrc/migration-scripts/interfaces/0-to-12
1 files changed, 1 insertions, 1 deletions
diff --git a/src/migration-scripts/interfaces/0-to-1 b/src/migration-scripts/interfaces/0-to-1
index a67a4a325..ee4d6b82c 100755
--- a/src/migration-scripts/interfaces/0-to-1
+++ b/src/migration-scripts/interfaces/0-to-1
@@ -49,7 +49,7 @@ if __name__ == '__main__':
config = ConfigTree(config_file)
base = ['interfaces', 'bridge']
- if not config.exists(['interfaces', 'bridge']):
+ if not config.exists(base):
# Nothing to do
sys.exit(0)
else: