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