We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 4f64909 commit 039c9a5Copy full SHA for 039c9a5
st2common/bin/st2-self-check
@@ -52,9 +52,9 @@ elif [ ! -z ${ST2_BASE_URL+x} ]; then
52
PROTOCOL="https"
53
fi
54
elif [ -e "${ST2_CLI_CONFIG_FILE}" ]; then
55
- if [ ! -z "cat ${ST2_CLI_CONFIG_FILE} | grep -E 'https://(.+):9101'" ]; then
+ if [ ! "cat ${ST2_CLI_CONFIG_FILE} | grep -E 'https://(.+):9101'" ]; then
56
57
- elif [ ! -z "cat ${ST2_CLI_CONFIG_FILE} | grep -E 'base_url\s?=\s?https'" ]; then
+ elif [ ! "cat ${ST2_CLI_CONFIG_FILE} | grep -E 'base_url\s?=\s?https'" ]; then
58
59
60
0 commit comments