summaryrefslogtreecommitdiff
path: root/src/migration-scripts/system/25-to-26
diff options
context:
space:
mode:
Diffstat (limited to 'src/migration-scripts/system/25-to-26')
-rwxr-xr-xsrc/migration-scripts/system/25-to-262
1 files changed, 1 insertions, 1 deletions
diff --git a/src/migration-scripts/system/25-to-26 b/src/migration-scripts/system/25-to-26
index 615274430..7bdf3be98 100755
--- a/src/migration-scripts/system/25-to-26
+++ b/src/migration-scripts/system/25-to-26
@@ -21,7 +21,7 @@
from sys import exit, argv
from vyos.configtree import ConfigTree
-if (len(argv) < 1):
+if len(argv) < 2:
print("Must specify file name!")
exit(1)