Skip to content

Commit c02ad8f

Browse files
committed
Update shebang and error handling in entrypoint and healthcheck scripts
1 parent 87a043a commit c02ad8f

28 files changed

Lines changed: 42 additions & 28 deletions

‎10.11-ubi/docker-entrypoint.sh‎

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
#!/bin/bash
2-
set -eo pipefail
2+
3+
set -Eeuo pipefail
34
shopt -s nullglob
45

56
# logging functions

‎10.11-ubi/healthcheck.sh‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@
3434
# Note * though denied error message will result in error log without
3535
# any permissions. USAGE recommend to avoid this.
3636

37-
set -eo pipefail
37+
set -Eeuo pipefail
3838

3939
_process_sql()
4040
{

‎10.11/docker-entrypoint.sh‎

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
#!/bin/bash
2-
set -eo pipefail
2+
3+
set -Eeuo pipefail
34
shopt -s nullglob
45

56
# logging functions

‎10.11/healthcheck.sh‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@
3434
# Note * though denied error message will result in error log without
3535
# any permissions. USAGE recommend to avoid this.
3636

37-
set -eo pipefail
37+
set -Eeuo pipefail
3838

3939
_process_sql()
4040
{

‎10.5/docker-entrypoint.sh‎

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
#!/bin/bash
2-
set -eo pipefail
2+
3+
set -Eeuo pipefail
34
shopt -s nullglob
45

56
# logging functions

‎10.5/healthcheck.sh‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@
3434
# Note * though denied error message will result in error log without
3535
# any permissions. USAGE recommend to avoid this.
3636

37-
set -eo pipefail
37+
set -Eeuo pipefail
3838

3939
_process_sql()
4040
{

‎10.6-ubi/docker-entrypoint.sh‎

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
#!/bin/bash
2-
set -eo pipefail
2+
3+
set -Eeuo pipefail
34
shopt -s nullglob
45

56
# logging functions

‎10.6-ubi/healthcheck.sh‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@
3434
# Note * though denied error message will result in error log without
3535
# any permissions. USAGE recommend to avoid this.
3636

37-
set -eo pipefail
37+
set -Eeuo pipefail
3838

3939
_process_sql()
4040
{

‎10.6/docker-entrypoint.sh‎

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
#!/bin/bash
2-
set -eo pipefail
2+
3+
set -Eeuo pipefail
34
shopt -s nullglob
45

56
# logging functions

‎10.6/healthcheck.sh‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@
3434
# Note * though denied error message will result in error log without
3535
# any permissions. USAGE recommend to avoid this.
3636

37-
set -eo pipefail
37+
set -Eeuo pipefail
3838

3939
_process_sql()
4040
{

0 commit comments

Comments
 (0)