aboutsummaryrefslogtreecommitdiffstats
path: root/backup-email
diff options
context:
space:
mode:
Diffstat (limited to 'backup-email')
-rw-r--r--backup-email4
1 files changed, 4 insertions, 0 deletions
diff --git a/backup-email b/backup-email
index 7cdf55e..34e15e1 100644
--- a/backup-email
+++ b/backup-email
@@ -30,6 +30,10 @@
:global WaitForFile;
:global WaitFullyConnected;
+:if ([ :typeof $SendEMail2 ] = "nothing") do={
+ $LogPrintExit2 error $0 ("The module for sending notifications via e-mail is not installed.") true;
+}
+
:if ($BackupSendBinary != true && \
$BackupSendExport != true) do={
$LogPrintExit2 error $0 ("Configured to send neither backup nor config export.") true;