Mercurial > hgrepos > FreeBSD > ports > sysutils > local-bsdtools
changeset 560:56ae2b21da67
Call jls with its full path and require "no-locale" for text output also
| author | Franz Glasner <fzglas.hg@dom66.de> |
|---|---|
| date | Wed, 11 Sep 2024 16:49:17 +0200 |
| parents | cfc1a2151de4 |
| children | d173161a3a0f |
| files | share/local-bsdtools/common.subr |
| diffstat | 1 files changed, 2 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- a/share/local-bsdtools/common.subr Wed Sep 11 14:23:20 2024 +0200 +++ b/share/local-bsdtools/common.subr Wed Sep 11 16:49:17 2024 +0200 @@ -314,7 +314,7 @@ [ -z "${_location}" ] && { echo "ERROR: no mountpoint given" 1>&2; return 1; } if [ -x "${JQ}" ]; then - jls --libxo=json,no-locale -d dying name path \ + /usr/sbin/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 @@ -330,7 +330,7 @@ return 3 } else - jls -d name dying path \ + /usr/sbin/jls --libxo=text,no-locale -d name dying path \ | { while IFS=' '$'\t' read -r _name _dying _path ; do if [ "${_path}" = "${_location}" ]; then
