Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion logging.sh
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@
# Version (updated by release workflow)
# Guard against re-initialization when sourced multiple times
# Use readonly status instead of emptiness to avoid environment bypass
if ! readonly -p 2>/dev/null | grep -q "declare -[^ ]*r[^ ]* BASH_LOGGER_VERSION="; then
if ! readonly -p 2>/dev/null | grep -qE '(declare|typeset) -[^ ]*r[^ ]* BASH_LOGGER_VERSION='; then
readonly BASH_LOGGER_VERSION="2.5.1"

# Unset potentially malicious environment variables before setting internal constants
Expand Down
Loading