Mercurial > hgrepos > FreeBSD > ports > sysutils > local-bsdtools
changeset 447:f6f64fd6f17b
Style: consistent Google style
| author | Franz Glasner <fzglas.hg@dom66.de> |
|---|---|
| date | Wed, 08 May 2024 08:55:54 +0200 |
| parents | 0c95a5b279cf |
| children | 1f03f76b6aa4 |
| files | sbin/fjail sbin/ftjail share/local-bsdtools/common.subr |
| diffstat | 3 files changed, 11 insertions(+), 11 deletions(-) [+] |
line wrap: on
line diff
--- a/sbin/fjail Tue May 07 09:32:43 2024 +0200 +++ b/sbin/fjail Wed May 08 08:55:54 2024 +0200 @@ -113,10 +113,10 @@ #: version of the host) #: #: Returns: -#: 0 if the userland versions match, 1 otherwise +#: 0: if the userland versions match, 1 otherwise #: #: Exit: -#: 1 on fatal errors (e.g. /bin/freebsd-version not found or errors) +#: 1: on fatal errors (e.g. /bin/freebsd-version not found or errors) #: _has_same_userland_version() { local directory ref_version
--- a/sbin/ftjail Tue May 07 09:32:43 2024 +0200 +++ b/sbin/ftjail Wed May 08 08:55:54 2024 +0200 @@ -76,10 +76,10 @@ #: Nothing if a jail is not found. #: #: Return: -#: - 0: if a running jail is found -#: - 1: error -#: - 2: no running jail found -#: - 3: jail found but currently dying +#: 0: if a running jail is found +#: 1: error +#: 2: no running jail found +#: 3: jail found but currently dying #: _get_jail_from_path() { local _location
--- a/share/local-bsdtools/common.subr Tue May 07 09:32:43 2024 +0200 +++ b/share/local-bsdtools/common.subr Wed May 08 08:55:54 2024 +0200 @@ -21,7 +21,7 @@ #: 2: If formally `getopts` finds options in "$@" #: #: Return: -#: - 0 +#: 0 #: _ensure_no_options() { local _opt @@ -84,8 +84,8 @@ #: The name of the ZFS dataset that is mounted on `$1` #: #: Return: -#: - 0 if a mounted dataset is found -#: - 1 if no ZFS dataset is found that is mounted on `$1` +#: 0: if a mounted dataset is found +#: 1: if no ZFS dataset is found that is mounted on `$1` #: #: The dataset has to be mounted. #: @@ -122,8 +122,8 @@ #: The name of the ZFS dataset that is mounted on `$1`/var/empty #: #: Return: -#: - 0 if a mounted dataset is found -#: - 1 if no ZFS dataset is found that is mounted on `$1` +#: 0: if a mounted dataset is found +#: 1: if no ZFS dataset is found that is mounted on `$1` #: #: The dataset has to be mounted. #:
