summaryrefslogtreecommitdiff
path: root/src/migration-scripts/interfaces/6-to-7
diff options
context:
space:
mode:
Diffstat (limited to 'src/migration-scripts/interfaces/6-to-7')
-rwxr-xr-xsrc/migration-scripts/interfaces/6-to-72
1 files changed, 1 insertions, 1 deletions
diff --git a/src/migration-scripts/interfaces/6-to-7 b/src/migration-scripts/interfaces/6-to-7
index 220c7e601..49b853d90 100755
--- a/src/migration-scripts/interfaces/6-to-7
+++ b/src/migration-scripts/interfaces/6-to-7
@@ -20,7 +20,7 @@ import sys
from vyos.configtree import ConfigTree
if __name__ == '__main__':
- if (len(sys.argv) < 1):
+ if len(sys.argv) < 2:
print("Must specify file name!")
exit(1)