summaryrefslogtreecommitdiff
path: root/src/migration-scripts/system/23-to-24
diff options
context:
space:
mode:
Diffstat (limited to 'src/migration-scripts/system/23-to-24')
-rwxr-xr-xsrc/migration-scripts/system/23-to-242
1 files changed, 1 insertions, 1 deletions
diff --git a/src/migration-scripts/system/23-to-24 b/src/migration-scripts/system/23-to-24
index 97fe82462..fd68dbf22 100755
--- a/src/migration-scripts/system/23-to-24
+++ b/src/migration-scripts/system/23-to-24
@@ -22,7 +22,7 @@ from sys import exit, argv
from vyos.configtree import ConfigTree
from vyos.template import is_ipv4
-if (len(argv) < 1):
+if len(argv) < 2:
print("Must specify file name!")
exit(1)