mirror of
https://github.com/community-scripts/ProxmoxVED.git
synced 2026-02-25 05:57:26 +00:00
Revert "feat: add centralized logging utilities"
This commit is contained in:
@@ -2,16 +2,6 @@
|
||||
# Author: michelroegl-brunner
|
||||
# License: MIT | https://git.community-scripts.org/community-scripts/ProxmoxVED/raw/branch/main/LICENSE
|
||||
|
||||
if [[ -f "$(dirname "${BASH_SOURCE[0]}")/logger.func" ]]; then
|
||||
source "$(dirname "${BASH_SOURCE[0]}")/logger.func"
|
||||
else
|
||||
if command -v curl >/dev/null 2>&1; then
|
||||
source <(curl -fsSL https://raw.githubusercontent.com/community-scripts/ProxmoxVE/main/misc/logger.func)
|
||||
elif command -v wget >/dev/null 2>&1; then
|
||||
source <(wget -qO- https://raw.githubusercontent.com/community-scripts/ProxmoxVE/main/misc/logger.func)
|
||||
fi
|
||||
fi
|
||||
|
||||
get_error_description() {
|
||||
local exit_code="$1"
|
||||
case "$exit_code" in
|
||||
|
||||
Reference in New Issue
Block a user