backup-email: check for .conf file

This commit is contained in:
Christian Hesse 2025-06-02 23:52:29 +02:00
parent a2f837be59
commit 43bac7c33c

View file

@ -127,7 +127,8 @@
# wait for the mail to be sent # wait for the mail to be sent
:do { :do {
:retry { :retry {
:if ([ $FileExists ($FilePath . ".backup") "backup" ] = true || \ :if ([ $FileExists ($FilePath . ".conf") ".conf file" ] = true || \
[ $FileExists ($FilePath . ".backup") "backup" ] = true || \
[ $FileExists ($FilePath . ".rsc") "script" ] = true) do={ [ $FileExists ($FilePath . ".rsc") "script" ] = true) do={
:error "Files are still available."; :error "Files are still available.";
} }