# HG changeset patch # User Franz Glasner # Date 1725926082 -7200 # Node ID 56317c9226ba6e9cfd29324a93a876f1561c238d # Parent 38cbc3b70078d212c127abd24b176fb80d281509 FIX: Reading from a tsv requires a TAB IFS diff -r 38cbc3b70078 -r 56317c9226ba share/local-bsdtools/common.subr --- a/share/local-bsdtools/common.subr Tue Sep 10 01:52:30 2024 +0200 +++ b/share/local-bsdtools/common.subr Tue Sep 10 01:54:42 2024 +0200 @@ -313,7 +313,7 @@ jls --libxo=json,no-locale -d dying name path \ | LC_ALL=C "${JQ}" -r $'.["jail-information"].jail[] | [.dying, .name, .path] | @tsv ' \ | { # ' - while IFS=' '$'\t' read -r _dying _name _path ; do + while IFS=$'\t' read -r _dying _name _path ; do if [ "${_path}" = "${_location}" ]; then if [ "${_dying}" != "false" ]; then echo "Jail \`${_name}' is currently dying" 1>&2