# HG changeset patch # User Franz Glasner # Date 1727805453 -7200 # Node ID fbad4e8e3e42a6735636f26461a75a0a717c028a # Parent 44a702b32c019c18866bf694f2d59db7a4901200 fjail: FIX: assignment of "$@" is not supported diff -r 44a702b32c01 -r fbad4e8e3e42 sbin/fjail --- a/sbin/fjail Tue Oct 01 19:28:57 2024 +0200 +++ b/sbin/fjail Tue Oct 01 19:57:33 2024 +0200 @@ -627,13 +627,13 @@ [ -d "${directory}" ] || { echo "ERROR: directory \`${directory}' does not exist" 1>&2; return 1; } shift - operations="$@" + operations="$*" if _has_same_userland_version "${directory}" "${opt_currently_running}" ; then if [ -n "${opt_currently_running}" ]; then - freebsd-update -b "${directory}" --currently-running "${opt_currently_running}" ${operations} + freebsd-update -b "${directory}" --currently-running "${opt_currently_running}" "$@" else - freebsd-update -b "${directory}" ${operations} + freebsd-update -b "${directory}" "$@" fi else echo "ERROR: Userland version mismatch" 1>&2