mirror of
https://github.com/MacRimi/ProxMenux.git
synced 2025-11-18 03:26:17 +00:00
refactor: simplify utils.sh loading error handling
This commit is contained in:
@@ -54,9 +54,6 @@ MONITOR_PORT=8008
|
|||||||
# Load utils.sh from local repository
|
# Load utils.sh from local repository
|
||||||
if [[ -f "./scripts/utils.sh" ]]; then
|
if [[ -f "./scripts/utils.sh" ]]; then
|
||||||
source "./scripts/utils.sh"
|
source "./scripts/utils.sh"
|
||||||
else
|
|
||||||
echo "Error: Could not load utils.sh from local path"
|
|
||||||
exit 1
|
|
||||||
fi
|
fi
|
||||||
|
|
||||||
cleanup_corrupted_files() {
|
cleanup_corrupted_files() {
|
||||||
|
|||||||
Reference in New Issue
Block a user