summaryrefslogtreecommitdiff
path: root/src/migration-scripts/ipsec/7-to-8
diff options
context:
space:
mode:
Diffstat (limited to 'src/migration-scripts/ipsec/7-to-8')
-rwxr-xr-xsrc/migration-scripts/ipsec/7-to-82
1 files changed, 1 insertions, 1 deletions
diff --git a/src/migration-scripts/ipsec/7-to-8 b/src/migration-scripts/ipsec/7-to-8
index 5d48b2875..e002db0b1 100755
--- a/src/migration-scripts/ipsec/7-to-8
+++ b/src/migration-scripts/ipsec/7-to-8
@@ -31,7 +31,7 @@ from vyos.pki import load_private_key
from vyos.pki import encode_public_key
from vyos.pki import encode_private_key
-if (len(argv) < 1):
+if len(argv) < 2:
print("Must specify file name!")
exit(1)