We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 7011a1f commit e1ed7a8Copy full SHA for e1ed7a8
1 file changed
src/d2_docker/config/dhis2-core-entrypoint.sh
@@ -49,9 +49,10 @@ wait_for_data_container_to_finish_copy() {
49
setup_glowroot() {
50
if [ -f $GLOWROOT_ZIP ] && [ ! -d $GLOWROOT_DIR ] ; then
51
status=0
52
- unzip -q "$GLOWROOT_ZIP" -d /opt/ || status=$?
+ output=$(unzip -q "$GLOWROOT_ZIP" -d /opt/ 2>&1 || status=$?)
53
# Ignore RC=1 that implies only warnings and no errors (like an empty zip file)
54
if [ $status -gt 1 ]; then
55
+ echo "$output"
56
exit $status
57
fi
58
if [ -d $GLOWROOT_DIR ] ; then
0 commit comments