From 258d04aee00390f4058bfb2a162f9d9ce895a54c Mon Sep 17 00:00:00 2001
From: phlummox <726-phlummox@users.noreply.0xacab.org>
Date: Fri, 11 Mar 2022 06:30:23 +0000
Subject: [PATCH] Fix https://0xacab.org/liberate/backupninja/-/issues/11328

---
 handlers/restic.in | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/handlers/restic.in b/handlers/restic.in
index 664547c..28cf099 100644
--- a/handlers/restic.in
+++ b/handlers/restic.in
@@ -230,6 +230,8 @@ else
   fi
 fi
 
+[ -n "$test" ] || test=0
+
 ### INIT #######################################################################
 
 if [ "$need_init" = "yes" ]; then
-- 
GitLab