summaryrefslogtreecommitdiff
path: root/src/migration-scripts/policy/4-to-5
diff options
context:
space:
mode:
Diffstat (limited to 'src/migration-scripts/policy/4-to-5')
-rwxr-xr-xsrc/migration-scripts/policy/4-to-52
1 files changed, 1 insertions, 1 deletions
diff --git a/src/migration-scripts/policy/4-to-5 b/src/migration-scripts/policy/4-to-5
index 33c9e6ade..f6f889c35 100755
--- a/src/migration-scripts/policy/4-to-5
+++ b/src/migration-scripts/policy/4-to-5
@@ -24,7 +24,7 @@ from sys import exit
from vyos.configtree import ConfigTree
from vyos.ifconfig import Section
-if (len(argv) < 1):
+if len(argv) < 2:
print("Must specify file name!")
exit(1)