Skip to content

Commit

Permalink
...
Browse files Browse the repository at this point in the history
  • Loading branch information
d2jvkpn committed Jan 2, 2025
1 parent ad42441 commit 60f1dfa
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions network/openssl/ssl_expiry.sh
Original file line number Diff line number Diff line change
@@ -1,7 +1,9 @@
#!/bin/bash
set -eu -o pipefail; _wd=$(pwd); _path=$(dirname $0)


if [ $# -eq 0 ]; then
>&2 echo '!!! hosts are required'
exit 1
elif [ $# -eq 1 ]; then
:
Expand All @@ -12,6 +14,7 @@ else
exit 0
fi


host=$(echo $1 | sed 's#.*//##; s#/.*##')
port=${port:-443}

Expand Down

0 comments on commit 60f1dfa

Please sign in to comment.