aboutsummaryrefslogtreecommitdiffstats
path: root/packages-update
diff options
context:
space:
mode:
Diffstat (limited to 'packages-update')
-rw-r--r--packages-update5
1 files changed, 3 insertions, 2 deletions
diff --git a/packages-update b/packages-update
index 38636c5..8e18e77 100644
--- a/packages-update
+++ b/packages-update
@@ -49,11 +49,12 @@ $ScriptLock "packages-update";
}
:foreach Script in=[ / system script find where name~"^(cloud|email|upload)-backup\$" ] do={
+ :local ScriptName [ / system script get $Script name ];
:do {
+ $LogPrintExit info ("Running backup script " . $ScriptName . " before update.") false;
/ system script run $Script;
} on-error={
- :local ScriptName [ / system script get $Script name ];
- $LogPrintExit warning ("Running backup script " . $ScriptName . " failed.") false;
+ $LogPrintExit warning ("Running backup script " . $ScriptName . " before update failed!") false;
}
}