nixpkgs/pkgs/tools/backup/btrbk/btrbk-mail-Use-btrbk-instead-of-unbound-variable-btr.patch

26 lines
728 B
Diff
Raw Normal View History

2016-03-18 14:50:49 +01:00
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