mirror of
https://github.com/octoleo/hosts.git
synced 2025-01-01 05:31:49 +00:00
Expand documentation comment for _verify_write_permissions()
.
This commit is contained in:
parent
b7b186267d
commit
3237818607
3
hosts
3
hosts
@ -483,7 +483,8 @@ _present() {
|
||||
# _verify_write_permissions
|
||||
#
|
||||
# Print a helpful error message when the specified operation can't be
|
||||
# performed due to the lack of write permissions.
|
||||
# performed due to the lack of write permissions. If `$_AUTO_SUDO` is enabled,
|
||||
# then run the command with sudo and exit with the command's exit value.
|
||||
_verify_write_permissions() {
|
||||
if ! test -w "${HOSTS_PATH}"
|
||||
then
|
||||
|
Loading…
Reference in New Issue
Block a user