diff options
Diffstat (limited to 'src/migration-scripts/interfaces/23-to-24')
-rwxr-xr-x | src/migration-scripts/interfaces/23-to-24 | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/migration-scripts/interfaces/23-to-24 b/src/migration-scripts/interfaces/23-to-24 index d1ec2ad3e..8fd79ecc6 100755 --- a/src/migration-scripts/interfaces/23-to-24 +++ b/src/migration-scripts/interfaces/23-to-24 @@ -22,7 +22,7 @@ import sys from vyos.configtree import ConfigTree if __name__ == '__main__': - if (len(sys.argv) < 1): + if len(sys.argv) < 2: print("Must specify file name!") sys.exit(1) |