1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-12-04 03:25:02 +00:00
nixpkgs/pkgs/tools/backup/btrbk/btrbk-mail-Use-btrbk-instead-of-unbound-variable-btr.patch
2016-03-18 14:53:19 +01:00

26 lines
728 B
Diff

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