File tree Expand file tree Collapse file tree 1 file changed +3
-5
lines changed Expand file tree Collapse file tree 1 file changed +3
-5
lines changed Original file line number Diff line number Diff line change @@ -428,11 +428,9 @@ check_help_for() {
428
428
local _arch
429
429
local _cmd
430
430
local _arg
431
- local _ok
432
431
_arch=" $1 "
433
432
shift
434
433
_cmd=" $1 "
435
- _ok=" y"
436
434
shift
437
435
438
436
case " $_arch " in
@@ -444,7 +442,7 @@ check_help_for() {
444
442
if [ " $( sw_vers -productVersion | cut -d. -f2) " -lt 13 ]; then
445
443
# Older than 10.13
446
444
echo " Warning: Detected OS X platform older than 10.13"
447
- _ok= " n "
445
+ return 1
448
446
fi
449
447
fi
450
448
;;
@@ -453,11 +451,11 @@ check_help_for() {
453
451
454
452
for _arg in " $@ " ; do
455
453
if ! " $_cmd " --help | grep -q -- " $_arg " ; then
456
- _ok= " n "
454
+ return 1
457
455
fi
458
456
done
459
457
460
- test " $_ok " = " y "
458
+ true # not strictly needed
461
459
}
462
460
463
461
# Return cipher suite string specified by user, otherwise return strong TLS 1.2-1.3 cipher suites
You can’t perform that action at this time.
0 commit comments