From 7784ba55481f05b2d6e8b45c347c1e9b77532b41 Mon Sep 17 00:00:00 2001 From: Jeremy Lecour Date: Mon, 16 Jan 2023 09:58:17 +0100 Subject: [PATCH] load libraries just before calling main --- client/zzz_evobackup.sh | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/client/zzz_evobackup.sh b/client/zzz_evobackup.sh index 537d53c..83d4944 100644 --- a/client/zzz_evobackup.sh +++ b/client/zzz_evobackup.sh @@ -14,10 +14,6 @@ # # Licence: AGPLv3 -source ./lib/utilities.sh -source ./lib/dump.sh -source ./lib/main.sh - ####################################################################### # # You must configure the MAIL variable to receive notifications. @@ -239,6 +235,12 @@ local_tasks() { ### log "LOCAL_TASKS - stop ${dump_file}" ### } +########## Libraries ################################################## + +source ./lib/utilities.sh +source ./lib/dump.sh +source ./lib/main.sh + ########## Optional configuration ##################################### # If you set a value (like "linux", "openbsd"…) it will be used,