mirror of https://github.com/tteck/Proxmox.git
Compare commits
2 Commits
767899c4f2
...
3b6f82feac
Author | SHA1 | Date |
---|---|---|
|
3b6f82feac | |
|
d5c38b978a |
|
@ -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
|
||||
|
|
|
@ -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
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue