# HG changeset patch # User Franz Glasner # Date 1726066157 -7200 # Node ID 56ae2b21da6742d5e530cd793605dc1cbf50dfbd # Parent cfc1a2151de45b3461c71c9f03d579079ca48361 Call jls with its full path and require "no-locale" for text output also diff -r cfc1a2151de4 -r 56ae2b21da67 share/local-bsdtools/common.subr --- 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