solr_create_cores: don't swallow stdout in debug mode (#52)

stdout is already sent to `/dev/null` by `debug_execute` unless `BITNAMI_DEBUG`
is true, so this is unnecessary in the default case but also means that it will
be swallowed in debug mode, which is undesirable.

Signed-off-by: Alexandra Dunn <dunn.alex@gmail.com>
This commit is contained in:
Alexandra Catalina
2022-06-28 07:55:22 -07:00
committed by Bitnami Containers
parent 57e9a4e59a
commit e517a705d1
2 changed files with 2 additions and 2 deletions

View File

@@ -195,7 +195,7 @@ solr_create_cores() {
info "Creating solr core: ${core}"
if ! debug_execute "$exec" "${command_args[@]}" >/dev/null; then
if ! debug_execute "$exec" "${command_args[@]}"; then
error "There was an error when creating the core"
exit 1
else

View File

@@ -195,7 +195,7 @@ solr_create_cores() {
info "Creating solr core: ${core}"
if ! debug_execute "$exec" "${command_args[@]}" >/dev/null; then
if ! debug_execute "$exec" "${command_args[@]}"; then
error "There was an error when creating the core"
exit 1
else