Mercurial > hgrepos > FreeBSD > ports > sysutils > local-bsdtools
comparison sbin/ftjail @ 447:f6f64fd6f17b
Style: consistent Google style
| author | Franz Glasner <fzglas.hg@dom66.de> |
|---|---|
| date | Wed, 08 May 2024 08:55:54 +0200 |
| parents | 84e43d1bd128 |
| children | 1f03f76b6aa4 |
comparison
equal
deleted
inserted
replaced
| 446:0c95a5b279cf | 447:f6f64fd6f17b |
|---|---|
| 74 #: Output (stdout): | 74 #: Output (stdout): |
| 75 #: The name if the jail with a "path" that is equal to the input param. | 75 #: The name if the jail with a "path" that is equal to the input param. |
| 76 #: Nothing if a jail is not found. | 76 #: Nothing if a jail is not found. |
| 77 #: | 77 #: |
| 78 #: Return: | 78 #: Return: |
| 79 #: - 0: if a running jail is found | 79 #: 0: if a running jail is found |
| 80 #: - 1: error | 80 #: 1: error |
| 81 #: - 2: no running jail found | 81 #: 2: no running jail found |
| 82 #: - 3: jail found but currently dying | 82 #: 3: jail found but currently dying |
| 83 #: | 83 #: |
| 84 _get_jail_from_path() { | 84 _get_jail_from_path() { |
| 85 local _location | 85 local _location |
| 86 | 86 |
| 87 local _name _path _dying | 87 local _name _path _dying |
