From 28e45a933ab3f4b65050fed29a8cdd41b6d517b3 Mon Sep 17 00:00:00 2001
From: "Hahn Axel (hahn)" <axel.hahn@unibe.ch>
Date: Fri, 15 Mar 2024 17:05:26 +0100
Subject: [PATCH] sqlite update comment

---
 plugins/localdump/sqlite.sh | 7 +++----
 1 file changed, 3 insertions(+), 4 deletions(-)

diff --git a/plugins/localdump/sqlite.sh b/plugins/localdump/sqlite.sh
index 02de27a..b454d0c 100755
--- a/plugins/localdump/sqlite.sh
+++ b/plugins/localdump/sqlite.sh
@@ -2,8 +2,7 @@
 # ================================================================================
 #
 # LOCALDUMP :: SQLITE
-# create gzipped plain text backups from each sqlite database in
-# backup-dbfiles.job
+# create gzipped plain text backups from each sqlite database
 #
 # --------------------------------------------------------------------------------
 # ah - Axel Hahn <axel.hahn@iml.unibe.ch>
@@ -96,8 +95,8 @@ function restoreByFile(){
 j_requireBinary "sqlite3"   1
 
 if [ $rc -ne 0 ]; then
-  rc=0
-  echo "SKIP: sqlite seems not to be here"
+  rc=1
+  color.echo error "ERROR: Your Sqlite data cannot be dumped."
 else
   if [ "$1" = "restore" ]; then
     echo
-- 
GitLab