feat: stderr to stdout as well
All checks were successful
continuous-integration/drone/push Build is passing
All checks were successful
continuous-integration/drone/push Build is passing
Signed-off-by: kjuulh <contact@kjuulh.io>
This commit is contained in:
parent
569fee52e6
commit
eeabeda036
@ -35,7 +35,7 @@ curl -L "https://api-minio.front.kjuulh.io/${S3_BUCKET}/releases/${APP_NAME}/${A
|
|||||||
# Make binary executable
|
# Make binary executable
|
||||||
chmod +x "${INSTALL_DIR}/${BINARY_NAME}"
|
chmod +x "${INSTALL_DIR}/${BINARY_NAME}"
|
||||||
|
|
||||||
res=$(churn agent setup --discovery "${CHURN_DISCOVERY}")
|
res=$(churn agent setup --discovery "${CHURN_DISCOVERY}" 2>&1)
|
||||||
exit_code=$?
|
exit_code=$?
|
||||||
if [[ $exit_code != 0 ]]; then
|
if [[ $exit_code != 0 ]]; then
|
||||||
if [[ "$res" != *"config file already exists"* ]]; then
|
if [[ "$res" != *"config file already exists"* ]]; then
|
||||||
|
Loading…
Reference in New Issue
Block a user