summaryrefslogtreecommitdiff
path: root/src/migration-scripts/system/14-to-15
diff options
context:
space:
mode:
Diffstat (limited to 'src/migration-scripts/system/14-to-15')
-rwxr-xr-xsrc/migration-scripts/system/14-to-152
1 files changed, 1 insertions, 1 deletions
diff --git a/src/migration-scripts/system/14-to-15 b/src/migration-scripts/system/14-to-15
index c055dad1f..feaac37de 100755
--- a/src/migration-scripts/system/14-to-15
+++ b/src/migration-scripts/system/14-to-15
@@ -11,7 +11,7 @@ ipv6_blacklist_file = '/etc/modprobe.d/vyatta_blacklist_ipv6.conf'
from vyos.configtree import ConfigTree
-if (len(sys.argv) < 1):
+if len(sys.argv) < 2:
print("Must specify file name!")
sys.exit(1)