You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When editing, it gives an error - line 1155: EDITOR: variable bounds not set.
The problem was solved in the _verify_write_permissions function by adding the -E argument to sudo in line 367
_verify_write_permissions() {
if [[ ! -w "${HOSTS_PATH}" ]]
then
if ((_AUTO_SUDO))
then
local _my_path
_my_path="$(cd "$(dirname "$0")"; pwd)/${_ME}"
sudo -E "${_my_path}" "${_SUBCOMMAND}" "${_COMMAND_PARAMETERS[@]:-}"
exit $?
else
_exit_1 printf \
"You don't have permission to perform this operation. Try again with:
sudo !!\\n"
fi
fi
}
The text was updated successfully, but these errors were encountered:
webmastak
changed the title
Error - line 1155: EDITOR: variable bounds not set
[SOLVED] Error - line 1155: EDITOR: variable bounds not set
Nov 10, 2020
webmastak
changed the title
[SOLVED] Error - line 1155: EDITOR: variable bounds not set
[SOLVED] error line 1155: EDITOR: variable bounds not set
Nov 10, 2020
When editing, it gives an error - line 1155: EDITOR: variable bounds not set.
The problem was solved in the
_verify_write_permissions
function by adding the-E
argument tosudo
in line 367The text was updated successfully, but these errors were encountered: