Skip to content

Commit dd22dfd

Browse files
committed
backup-email: check if dependency for sending e-mail is installed
1 parent 1018294 commit dd22dfd

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

backup-email

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,10 @@
3030
:global WaitForFile;
3131
:global WaitFullyConnected;
3232

33+
:if ([ :typeof $SendEMail2 ] = "nothing") do={
34+
$LogPrintExit2 error $0 ("The module for sending notifications via e-mail is not installed.") true;
35+
}
36+
3337
:if ($BackupSendBinary != true && \
3438
$BackupSendExport != true) do={
3539
$LogPrintExit2 error $0 ("Configured to send neither backup nor config export.") true;

0 commit comments

Comments
 (0)