mirror of
https://gitlab.alpinelinux.org/alpine/cloud/tiny-cloud.git
synced 2025-12-15 11:22:43 +03:00
* fix log() handling of -i output
This commit is contained in:
parent
6b87f633f2
commit
6a95f31309
@ -25,7 +25,7 @@ log() {
|
||||
[ -z "$DEBUG" ] && [ "$level" = debug ] && return
|
||||
shift
|
||||
|
||||
[ -n "$init" ] && echo "$0" >&2
|
||||
[ -n "$init" ] && echo "$@" >&2
|
||||
logger $stderr -p "$facility.$level" -t "$tag[$$]" "$@"
|
||||
case "$level" in
|
||||
crit|alert|emerg) exit 1 ;;
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user