From 3237818607b5db3bd9e995ed3c877850e82b8c3a Mon Sep 17 00:00:00 2001 From: William Melody Date: Wed, 1 Mar 2017 18:28:21 -0800 Subject: [PATCH] Expand documentation comment for `_verify_write_permissions()`. --- hosts | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/hosts b/hosts index 9f53807..998d732 100755 --- a/hosts +++ b/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