From 070b047f929d6d632e3315e8c1024e828b812548 Mon Sep 17 00:00:00 2001 From: Paul van Tilburg Date: Sun, 21 Aug 2016 21:45:47 +0200 Subject: [PATCH] Also send notifications to the console if verbose --- restic-cron | 1 + 1 file changed, 1 insertion(+) diff --git a/restic-cron b/restic-cron index 8c21840..0dc4130 100755 --- a/restic-cron +++ b/restic-cron @@ -7,6 +7,7 @@ # Nofication function notify() { notify-send -i deja-dup "$1" + test -z "$RESTIC_QUIET" && echo "I: $1" } # Check if a --verbose argument is passed, otherwise use quiet