summaryrefslogtreecommitdiff
path: root/src/migration-scripts/interfaces/0-to-1
diff options
context:
space:
mode:
Diffstat (limited to 'src/migration-scripts/interfaces/0-to-1')
-rwxr-xr-xsrc/migration-scripts/interfaces/0-to-12
1 files changed, 1 insertions, 1 deletions
diff --git a/src/migration-scripts/interfaces/0-to-1 b/src/migration-scripts/interfaces/0-to-1
index c7f324661..25f6842eb 100755
--- a/src/migration-scripts/interfaces/0-to-1
+++ b/src/migration-scripts/interfaces/0-to-1
@@ -37,7 +37,7 @@ def migrate_bridge(config, tree, intf):
if __name__ == '__main__':
- if (len(sys.argv) < 1):
+ if len(sys.argv) < 2:
print("Must specify file name!")
sys.exit(1)