Mercurial > hgrepos > FreeBSD > ports > sysutils > local-bsdtools
changeset 697:fbad4e8e3e42
fjail: FIX: assignment of "$@" is not supported
| author | Franz Glasner <fzglas.hg@dom66.de> |
|---|---|
| date | Tue, 01 Oct 2024 19:57:33 +0200 |
| parents | 44a702b32c01 |
| children | f8bd9471345a |
| files | sbin/fjail |
| diffstat | 1 files changed, 3 insertions(+), 3 deletions(-) [+] |
line wrap: on
line diff
--- 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
