# HG changeset patch # User Franz Glasner # Date 1727787887 -7200 # Node ID 425b1ae264a96302e1e6bb0fe06cf564e99fb2ee # Parent 3e96fc952c45266813242d8d0dcabacbbbd65845 ftjail: FIX: call jexec command params after "--" diff -r 3e96fc952c45 -r 425b1ae264a9 sbin/ftjail --- a/sbin/ftjail Tue Oct 01 15:03:28 2024 +0200 +++ b/sbin/ftjail Tue Oct 01 15:04:47 2024 +0200 @@ -1110,7 +1110,7 @@ if [ -n "${_directory}" ]; then _etcupdate_status='' if [ -n "${_running_jailname}" ]; then - _etcupdate_status="$(/usr/sbin/jexec -l -U root "${_running_jailname}" /usr/sbin/etcupdate status 2>&1 || true)" + _etcupdate_status="$(/usr/sbin/jexec -l -U root -- "${_running_jailname}" /usr/sbin/etcupdate status 2>&1 || true)" elif [ -d "${_directory}" ]; then _etcupdate_status="$(LC_ALL=C.UTF-8 /usr/sbin/etcupdate status -D "${_directory}" 2>&1 || true)" fi