summary refs log tree commit diff
path: root/pkgs/tools/backup/btrbk/btrbk-mail-Use-btrbk-instead-of-unbound-variable-btr.patch
blob: 050f1a6c430305af29308a62cc15c1674d78aa79 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
From 8abe8a915aa2d0c79c4dbe00dc7d255c32b7b85d Mon Sep 17 00:00:00 2001
From: Moritz Ulrich <moritz@tarn-vedra.de>
Date: Fri, 18 Mar 2016 13:20:48 +0100
Subject: [PATCH] btrbk-mail: Use `btrbk` instead of unbound variable `$btrbk`

---
 contrib/cron/btrbk-mail | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/contrib/cron/btrbk-mail b/contrib/cron/btrbk-mail
index f7e4f12..9143f2d 100755
--- a/contrib/cron/btrbk-mail
+++ b/contrib/cron/btrbk-mail
@@ -113,7 +113,7 @@ case $exitcode in
 	;;
     10) status="ERROR: At least one backup task aborted!"
 	;;
-    *)  status="ERROR: $btrbk failed with error code $exitcode"
+    *)  status="ERROR: btrbk failed with error code $exitcode"
 	;;
 esac
 
-- 
2.7.3