Commit b103f1b srvrco
committed
1 parent 525fbe2 commit b103f1b Copy full SHA for b103f1b
File tree 1 file changed +5
-1
lines changed
1 file changed +5
-1
lines changed Original file line number Diff line number Diff line change 45
45
# 2017-01-12 updated to ignore -r flag if -c is used. (1.15)
46
46
# 2017-01-31 updated variable for auto upgrade location (1.16)
47
47
# 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)
48
49
# ---------------------------------------------------------------------------
49
50
50
51
PROGNAME=${0##*/ }
51
- VERSION=" 1.17 "
52
+ VERSION=" 1.18 "
52
53
53
54
ORIGCMD=" $0 $* "
54
55
CODE_LOCATION=" https://raw.githubusercontent.com/srvrco/checkssl/master/checkssl"
@@ -263,6 +264,9 @@ _requires column
263
264
# Check if upgrades are available (unless they have specified -U to ignore Upgrade checks)
264
265
if [[ $_UPGRADE_CHECK -eq 1 ]]; then
265
266
check_upgrade
267
+ if [[ ! $FILEARG && ! $SERVERARG && ! $LOCATIONARG && ! $DOMAINARG ]]; then
268
+ graceful_exit
269
+ fi
266
270
fi
267
271
268
272
if [[ ! $FILEARG && ! $SERVERARG && ! $LOCATIONARG && ! $DOMAINARG ]]; then
You can’t perform that action at this time.
0 commit comments