mirror of
https://github.com/bitnami/containers.git
synced 2026-02-10 21:27:26 +08:00
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:
committed by
Bitnami Containers
parent
57e9a4e59a
commit
e517a705d1
@@ -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
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user