test: allow logger() to run w/o UNIX socket path
Signed-off-by: Joachim Wiberg <troglobit@gmail.com>
This commit is contained in:
parent
43d8640aac
commit
911e3f05a1
@ -108,7 +108,11 @@ logger()
|
||||
shift
|
||||
fi
|
||||
|
||||
if [ -f "$sock" ]; then
|
||||
../src/logger -u "$sock" "$@"
|
||||
else
|
||||
../src/logger "$@"
|
||||
fi
|
||||
}
|
||||
|
||||
# shellcheck disable=SC2046,SC2086
|
||||
|
Loading…
Reference in New Issue
Block a user