File tree Expand file tree Collapse file tree 1 file changed +5
-1
lines changed
Expand file tree Collapse file tree 1 file changed +5
-1
lines changed Original file line number Diff line number Diff line change 4545# 2017-01-12 updated to ignore -r flag if -c is used. (1.15)
4646# 2017-01-31 updated variable for auto upgrade location (1.16)
4747# 2017-02-06 merge branches parsing CN and wildcard certs (1.17)
48+ # 2017-02-22 make no output when -u is only arg and no upgrade available (1.18)
4849# ---------------------------------------------------------------------------
4950
5051PROGNAME=${0##*/ }
51- VERSION=" 1.17 "
52+ VERSION=" 1.18 "
5253
5354ORIGCMD=" $0 $* "
5455CODE_LOCATION=" https://raw.githubusercontent.com/srvrco/checkssl/master/checkssl"
@@ -263,6 +264,9 @@ _requires column
263264# Check if upgrades are available (unless they have specified -U to ignore Upgrade checks)
264265if [[ $_UPGRADE_CHECK -eq 1 ]]; then
265266 check_upgrade
267+ if [[ ! $FILEARG && ! $SERVERARG && ! $LOCATIONARG && ! $DOMAINARG ]]; then
268+ graceful_exit
269+ fi
266270fi
267271
268272if [[ ! $FILEARG && ! $SERVERARG && ! $LOCATIONARG && ! $DOMAINARG ]]; then
You can’t perform that action at this time.
0 commit comments