Version 2.3.1: Correction dernier local hors fonction (ligne 1249)
All checks were successful
Tests et Vérifications / Tests unitaires BATS (push) Successful in 15s
Tests et Vérifications / Vérification ShellCheck (push) Successful in 7s
Tests et Vérifications / Vérification syntaxe Bash (push) Successful in 2s
Tests et Vérifications / Résumé des tests (push) Successful in 0s
All checks were successful
Tests et Vérifications / Tests unitaires BATS (push) Successful in 15s
Tests et Vérifications / Vérification ShellCheck (push) Successful in 7s
Tests et Vérifications / Vérification syntaxe Bash (push) Successful in 2s
Tests et Vérifications / Résumé des tests (push) Successful in 0s
This commit is contained in:
parent
3a56c5cd9f
commit
17197618a0
1 changed files with 1 additions and 2 deletions
|
|
@ -24,7 +24,7 @@
|
||||||
set -euo pipefail
|
set -euo pipefail
|
||||||
|
|
||||||
# Configuration
|
# Configuration
|
||||||
SCRIPT_VERSION="2.3.0"
|
SCRIPT_VERSION="2.3.1"
|
||||||
REPO_URL="https://forgejo.tellserv.fr/Tellsanguis/zfs-sync-nfs-ha"
|
REPO_URL="https://forgejo.tellserv.fr/Tellsanguis/zfs-sync-nfs-ha"
|
||||||
SCRIPT_URL="${REPO_URL}/raw/branch/main/zfs-nfs-replica.sh"
|
SCRIPT_URL="${REPO_URL}/raw/branch/main/zfs-nfs-replica.sh"
|
||||||
SCRIPT_PATH="${BASH_SOURCE[0]}"
|
SCRIPT_PATH="${BASH_SOURCE[0]}"
|
||||||
|
|
@ -1246,7 +1246,6 @@ if [[ "${NOTIFICATION_ENABLED}" == "true" ]] && [[ -n "${APPRISE_URLS}" ]]; then
|
||||||
|
|
||||||
# Initialiser l'environnement Python et installer Apprise si nécessaire
|
# Initialiser l'environnement Python et installer Apprise si nécessaire
|
||||||
if setup_apprise_venv; then
|
if setup_apprise_venv; then
|
||||||
local url_count
|
|
||||||
url_count=$(echo "${APPRISE_URLS}" | wc -w)
|
url_count=$(echo "${APPRISE_URLS}" | wc -w)
|
||||||
log "info" "✓ Notifications activées: ${url_count} service(s) configuré(s)"
|
log "info" "✓ Notifications activées: ${url_count} service(s) configuré(s)"
|
||||||
log "info" " Mode: ${NOTIFICATION_MODE}"
|
log "info" " Mode: ${NOTIFICATION_MODE}"
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue