summaryrefslogtreecommitdiff
path: root/src/migration-scripts/policy/3-to-4
diff options
context:
space:
mode:
Diffstat (limited to 'src/migration-scripts/policy/3-to-4')
-rwxr-xr-xsrc/migration-scripts/policy/3-to-42
1 files changed, 1 insertions, 1 deletions
diff --git a/src/migration-scripts/policy/3-to-4 b/src/migration-scripts/policy/3-to-4
index 49e0b4c38..1ebb248b0 100755
--- a/src/migration-scripts/policy/3-to-4
+++ b/src/migration-scripts/policy/3-to-4
@@ -98,7 +98,7 @@ def extcommunity_migrate(config: ConfigTree, rule: list[str]) -> None:
config.set(rule + ['soo'], value=community, replace=False)
-if (len(argv) < 1):
+if len(argv) < 2:
print("Must specify file name!")
exit(1)