mirror of
https://github.com/drwetter/testssl.sh.git
synced 2026-09-14 05:38:16 +02:00
Merge pull request #3133 from testssl/socket_timeout_parser
Fix error which prohibited passing an equal sign after "--socket-timeout"
This commit is contained in:
+1
-1
@@ -25912,7 +25912,7 @@ parse_cmd_line() {
|
||||
MTLS="$(parse_opt_equal_sign "$1" "$2")"
|
||||
[[ $? -eq 0 ]] && shift
|
||||
;;
|
||||
--socket-timeout|--socket-timeout=*--connect-timeout|--connect-timeout=*)
|
||||
--socket-timeout|--socket-timeout=*|--connect-timeout|--connect-timeout=*)
|
||||
SOCKET_TIMEOUT="$(parse_opt_equal_sign "$1" "$2")"
|
||||
[[ $? -eq 0 ]] && shift
|
||||
;;
|
||||
|
||||
Reference in New Issue
Block a user