summaryrefslogtreecommitdiff
path: root/src/migration-scripts/bgp/0-to-1
diff options
context:
space:
mode:
Diffstat (limited to 'src/migration-scripts/bgp/0-to-1')
-rwxr-xr-xsrc/migration-scripts/bgp/0-to-12
1 files changed, 1 insertions, 1 deletions
diff --git a/src/migration-scripts/bgp/0-to-1 b/src/migration-scripts/bgp/0-to-1
index b1d5a6514..5e9dffe1f 100755
--- a/src/migration-scripts/bgp/0-to-1
+++ b/src/migration-scripts/bgp/0-to-1
@@ -33,7 +33,7 @@ with open(file_name, 'r') as f:
base = ['protocols', 'bgp']
config = ConfigTree(config_file)
-if not config.exists(base):
+if not config.exists(base) or not config.is_tag(base):
# Nothing to do
exit(0)