summaryrefslogtreecommitdiff
path: root/src/migration-scripts/snmp/1-to-2
diff options
context:
space:
mode:
Diffstat (limited to 'src/migration-scripts/snmp/1-to-2')
-rwxr-xr-xsrc/migration-scripts/snmp/1-to-22
1 files changed, 1 insertions, 1 deletions
diff --git a/src/migration-scripts/snmp/1-to-2 b/src/migration-scripts/snmp/1-to-2
index 466a624e6..e02cd1aa1 100755
--- a/src/migration-scripts/snmp/1-to-2
+++ b/src/migration-scripts/snmp/1-to-2
@@ -43,7 +43,7 @@ def migrate_keys(config, path):
config.set(config_path_priv, value=tmp)
if __name__ == '__main__':
- if (len(argv) < 1):
+ if len(argv) < 2:
print("Must specify file name!")
exit(1)