Mercurial > hgrepos > FreeBSD > ports > sysutils > local-bsdtools
changeset 630:87d37db3ac06
ftjail: Replace "echo -n" by "printf".
"echo -n" is non-standard -- and "printf" is.
| author | Franz Glasner <fzglas.hg@dom66.de> |
|---|---|
| date | Tue, 24 Sep 2024 18:49:56 +0200 |
| parents | f7eda6256ae8 |
| children | ce0616aecc6c |
| files | sbin/ftjail |
| diffstat | 1 files changed, 3 insertions(+), 3 deletions(-) [+] |
line wrap: on
line diff
--- a/sbin/ftjail Tue Sep 24 18:47:45 2024 +0200 +++ b/sbin/ftjail Tue Sep 24 18:49:56 2024 +0200 @@ -792,7 +792,7 @@ IFS=$'\t' read -r _mp_name _mp_property _mp_value _mp_source case "${_mp_source}" in local) - echo -n "-o mountpoint=${_mp_value}" + printf '%s' "-o mountpoint=${_mp_value}" ;; default|inherited*) ;; @@ -837,10 +837,10 @@ IFS=$'\t' read -r _cm_name _cm_property _cm_value _cm_source case "${_cm_source}" in local) - echo -n "canmount=${_cm_value}" + printf '%s' "canmount=${_cm_value}" ;; default) - echo -n "DEFAULT" + printf '%s' "DEFAULT" ;; inherited|temporary*|received*|'-'|none) # XXX FIXME: Is this relevant on FreeBSD?
