From e375494d0053d67ab76dd20bf4dc0014bfb29a03 Mon Sep 17 00:00:00 2001
From: Christian Hesse <mail@eworm.de>
Date: Wed, 16 Jun 2021 14:58:14 +0200
Subject: [PATCH] email-backup: remove attachment when sent

---
 email-backup | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/email-backup b/email-backup
index d09ae2a..5a74220 100644
--- a/email-backup
+++ b/email-backup
@@ -75,4 +75,4 @@ $SendEMail2 ({ origin=$0; \
     [ $DeviceInfo ] . "\n\n" . \
     "Backup file:    " . $BackupFile . "\n" . \
     "Config file:    " . $ConfigFile); \
-  attach=$Attach });
+  attach=$Attach; remove-attach=true });