From 413287586f185dd4ce3a03c53b8fdab76b17b501 Mon Sep 17 00:00:00 2001 From: Christian Hesse Date: Fri, 3 Apr 2020 17:30:51 +0200 Subject: upload-backup: use $LogPrintExit --- upload-backup | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/upload-backup b/upload-backup index 3473884..1fc724b 100644 --- a/upload-backup +++ b/upload-backup @@ -38,7 +38,7 @@ user=$BackupUploadUser password=$BackupUploadPass src-path=($FileName . ".backup"); :set BackupFile ($FileName . ".backup"); } on-error={ - :log error ("Uploading backup file failed!"); + $LogPrintExit error ("Uploading backup file failed!") false; :set BackupFile "failed"; } } @@ -52,7 +52,7 @@ user=$BackupUploadUser password=$BackupUploadPass src-path=($FileName . ".rsc"); :set ConfigFile ($FileName . ".rsc"); } on-error={ - :log error ("Uploading configuration export failed!"); + $LogPrintExit error ("Uploading configuration export failed!") false; :set ConfigFile "failed"; } } -- cgit v1.2.3-70-g09d2