diff options
author | Christian Hesse <mail@eworm.de> | 2020-04-03 17:30:51 +0200 |
---|---|---|
committer | Christian Hesse <mail@eworm.de> | 2020-04-03 17:30:51 +0200 |
commit | 413287586f185dd4ce3a03c53b8fdab76b17b501 (patch) | |
tree | b9effdcfaeebcb5f484d0d18fced39a5c360f3de /upload-backup | |
parent | 03ae65c5f16111984f510969e2815908d59a0a0a (diff) |
upload-backup: use $LogPrintExit
Diffstat (limited to 'upload-backup')
-rw-r--r-- | upload-backup | 4 |
1 files 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"; } } |