Compare commits

...

2 Commits

Author SHA1 Message Date
tteckster 3b6f82feac
Update bug_report.yaml
tweak
2023-05-25 07:23:30 -04:00
tteckster d5c38b978a
Update install.func
tweak
2023-05-25 07:22:03 -04:00
2 changed files with 2 additions and 2 deletions

View File

@ -7,7 +7,7 @@ body:
**IMPORTANT:** Before submitting:
- Please search through the closed issues to see if the issue you are reporting has already been reported and resolved. If you find a closed issue that addresses your problem, please leave a comment on that issue instead of opening a new one.
- Switching Linux distributions without verifying that the default settings function properly, may lead to immediate closure.
- Failing to run the script in verbose mode to determine the actual issue, while encountering the error message `[ERROR] in line 22: exit code *: while executing command "$@" > /dev/null 2>&1`, may lead to immediate closure.
- Failing to run the script in verbose mode to determine the actual issue, while encountering the error message `[ERROR] in line 24: exit code *: while executing command "$@" > /dev/null 2>&1`, may lead to immediate closure.
- If you have requests for features or scripts, please share them in the [Discussions section.](https://github.com/tteck/Proxmox/discussions)
- type: textarea
id: bug

View File

@ -41,7 +41,7 @@ error_handler() {
local command="$2"
local error_message="${RD}[ERROR]${CL} in line ${RD}$line_number${CL}: exit code ${RD}$exit_code${CL}: while executing command ${YW}$command${CL}"
echo -e "\n$error_message"
if [[ "$line_number" -eq 22 ]]; then
if [[ "$line_number" -eq 24 ]]; then
echo -e "The silent function has suppressed the error, run the script with verbose mode enabled, which will provide more detailed output.\n"
fi
}