mirror of
https://github.com/rwinkhart/sshyp.git
synced 2026-08-29 05:16:27 -04:00
Fixed 'version', '-v', and 'license' arguments causing an unnecessary extension check
Former-commit-id: 1841bca9844455a8f11408a7adff67c399246397 Former-commit-id: e24216f8c11eeb1bf5bf946d27c8f82055778a88
This commit is contained in:
+1
-1
@@ -850,7 +850,7 @@ if __name__ == "__main__":
|
||||
whitelist_setup()
|
||||
|
||||
if arg_count > 0 and success_flag == 0 and arguments[0] != 'sync':
|
||||
if device_type == 'client' and arguments[0] not in ('help', '-h'):
|
||||
if device_type == 'client' and arguments[0] not in ('help', '-h', 'version', '-v', 'license'):
|
||||
extension_runner()
|
||||
else:
|
||||
print_info()
|
||||
|
||||
Reference in New Issue
Block a user