summaryrefslogtreecommitdiff
path: root/src/migration-scripts/interfaces/12-to-13
diff options
context:
space:
mode:
Diffstat (limited to 'src/migration-scripts/interfaces/12-to-13')
-rwxr-xr-xsrc/migration-scripts/interfaces/12-to-132
1 files changed, 2 insertions, 0 deletions
diff --git a/src/migration-scripts/interfaces/12-to-13 b/src/migration-scripts/interfaces/12-to-13
index f866ca9a6..fbd7e6f47 100755
--- a/src/migration-scripts/interfaces/12-to-13
+++ b/src/migration-scripts/interfaces/12-to-13
@@ -33,6 +33,8 @@ if __name__ == '__main__':
config_file = f.read()
config = ConfigTree(config_file)
+ if not config.exists(['interfaces']):
+ exit(0)
#
# T2903