1
0
mirror of https://github.com/octoleo/hosts.git synced 2024-05-28 20:30:47 +00:00

Expand documentation comment for _verify_write_permissions().

This commit is contained in:
William Melody 2017-03-01 18:28:21 -08:00
parent b7b186267d
commit 3237818607

3
hosts
View File

@ -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