# HG changeset patch # User Franz Glasner # Date 1715151354 -7200 # Node ID f6f64fd6f17bbd0a83d69596c486f932ba2e6a71 # Parent 0c95a5b279cfae4da4b84de58e8cf4ecedcf3015 Style: consistent Google style diff -r 0c95a5b279cf -r f6f64fd6f17b sbin/fjail --- 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 diff -r 0c95a5b279cf -r f6f64fd6f17b sbin/ftjail --- 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 diff -r 0c95a5b279cf -r f6f64fd6f17b share/local-bsdtools/common.subr --- 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. #: