mirror of
https://github.com/9technologygroup/patchmon.net.git
synced 2025-10-24 16:43:41 +00:00
Compare commits
1 Commits
0189a307ef
...
dev-1-2-8
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
2c44f9bf2c |
@@ -1,10 +1,10 @@
|
|||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
set -euo pipefail # Exit on error, undefined vars, pipe failures
|
set -eo pipefail # Exit on error, pipe failures (removed -u as we handle unset vars explicitly)
|
||||||
|
|
||||||
# Trap to catch errors only (not normal exits)
|
# Trap to catch errors only (not normal exits)
|
||||||
trap 'echo "[ERROR] Script failed at line $LINENO with exit code $?"' ERR
|
trap 'echo "[ERROR] Script failed at line $LINENO with exit code $?"' ERR
|
||||||
|
|
||||||
SCRIPT_VERSION="1.1.0"
|
SCRIPT_VERSION="1.1.1"
|
||||||
echo "[DEBUG] Script Version: $SCRIPT_VERSION ($(date +%Y-%m-%d\ %H:%M:%S))"
|
echo "[DEBUG] Script Version: $SCRIPT_VERSION ($(date +%Y-%m-%d\ %H:%M:%S))"
|
||||||
|
|
||||||
# =============================================================================
|
# =============================================================================
|
||||||
|
|||||||
Reference in New Issue
Block a user