From 7d26170d7f7ade3b23f0ebe350d5525194dc5af4 Mon Sep 17 00:00:00 2001 From: Randall Winkhart Date: Wed, 1 Mar 2023 19:16:10 -0500 Subject: [PATCH] Fixed 'version', '-v', and 'license' arguments causing an unnecessary extension check Former-commit-id: 1841bca9844455a8f11408a7adff67c399246397 Former-commit-id: e24216f8c11eeb1bf5bf946d27c8f82055778a88 --- lib/sshyp.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/sshyp.py b/lib/sshyp.py index 332c602..d501f26 100755 --- a/lib/sshyp.py +++ b/lib/sshyp.py @@ -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()