Skip to content

Commit 37c5475

Browse files
Remove DEBUG logs in docker-entrypoint.sh
Signed-off-by: Renuka Fernando <[email protected]>
1 parent 28723de commit 37c5475

File tree

1 file changed

+2
-8
lines changed

1 file changed

+2
-8
lines changed

enforcer-parent/enforcer/src/main/resources/docker-entrypoint.sh

+2-8
Original file line numberDiff line numberDiff line change
@@ -34,12 +34,6 @@ _term() {
3434

3535
trap _term TERM
3636

37-
# For Debug purpose. Remove this after debug is done.
38-
for sig in INT TERM HUP QUIT KILL; do
39-
trap 'echo "[DEBUG] Received signal: $sig"; kill -"$sig" "$ENFORCER_PID"' "$sig"
40-
done
41-
4237
wait $ENFORCER_PID
43-
EXIT_CODE=$?
44-
echo "Enforcer process exited with code $EXIT_CODE"
45-
exit $EXIT_CODE
38+
ENFORCER_EXIT_CODE=$?
39+
exit $ENFORCER_EXIT_CODE

0 commit comments

Comments
 (0)